Function at 0x4f87d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
xor ecx, ecx
cmp dword [ebp + 0x20], ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov eax, dword [edi]
setne byte [esp + 0xd]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ecx
mov byte [esp + 0xe], cl
mov dword [esp + 0x34], eax
cmp ebx, ecx
jne 0x4f8812
call fcn.005024e0
mov ebx, eax
xor ecx, ecx
test byte [esi + 0x24], 0x20
movsx edi, word [esi + 0x2a]
mov dword [esp + 0x54], edi
jne 0x4f882e
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], 1
jmp 0x4f8853
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x4f8847
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x4f8847
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x4f8835
mov dword [esp + 0x1c], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x3c], eax
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x4f8a06
mov dword [esp + 0x30], 0
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x28]
cmp edi, edx
je 0x4f89ee
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4f8889
cmp dword [eax + edi*4], 0
jl 0x4f89ee
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x30]
movzx esi, byte [eax + ecx + 0xc]
add eax, ecx
test esi, esi
je 0x4f89ee
mov cl, byte [ebp + 0x28]
cmp cl, 0xa
je 0x4f88ac
movzx esi, cl
jmp 0x4f88b1
cmp esi, 0xa
je 0x4f88bc
cmp esi, 5
jne 0x4f88c1
cmp dword [eax + 4], 0
jne 0x4f88c1
mov esi, 2
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x4f88cd
jmp dword [eax*4 + 0x4f9bd0]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x4f88e0
mov eax, ecx
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [edx + ecx]
mov eax, dword [eax]
mov edi, dword [esp + 0x34]
push edx
push eax
push str._s._s
call fcn.004b1850
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1c]
add esp, 0xc
mov edi, eax
lea eax, [ecx + edx + 1]
push eax
push esi
push 0x513
push 0x36
push ebx
call fcn.004cd400
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
je 0x4f893b
push 0xfffffffffffffff9
mov eax, edi
call fcn.004cdcf0
add esp, 4
jmp 0x4f8952
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov byte [eax + 1], 0xf9
mov dword [eax + 0x10], edi
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4f89ee
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
mov edx, 1
mov word [ecx + eax*4 - 0x12], dx
jmp 0x4f89ee
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x1c]
push 0
push eax
lea edx, [edi + ecx + 1]
push edx
push 0x4b
push ebx
call fcn.004cd400
add esp, 0x14
jmp 0x4f89ee
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
push 0
push 0
lea edi, [eax + ecx + 1]
push edi
push 0x4c
push ebx
call fcn.004cd400
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
mov esi, eax
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx + 4]
mov eax, dword [ebp + 8]
add esp, 0x14
push edi
push edx
push eax
call fcn.004e54a0
mov eax, dword [ebx + 0x88]
add esp, 0xc
test esi, esi
jge 0x4f89d3
lea esi, [eax - 1]
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x4f89e2
mov ecx, 0x5ef850
jmp 0x4f89eb
mov ecx, dword [ebx + 0x58]
lea edx, [esi + esi*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x10]
add dword [esp + 0x30], 0x10
inc edi
cmp edi, dword [esp + 0x54]
mov dword [esp + 0x10], edi
jl 0x4f8869
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4f8bca
mov ecx, dword [esp + 0x34]
test dword [ecx + 0x18], 0x200
jne 0x4f8bca
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
sub edx, dword [ebp + 0x1c]
mov dword [ecx + 0x38], edx
mov cl, byte [ebp + 0x28]
cmp cl, 0xa
je 0x4f8a46
movzx edx, cl
mov dword [esp + 0x18], edx
jmp 0x4f8a4e
mov dword [esp + 0x18], 2
cmp dword [eax], 0
mov dword [esp + 0x10], 0
jle 0x4f8bc0
add eax, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx - 4]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x54], edi
test ecx, ecx
je 0x4f8ad1
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
xor al, al
mov byte [esp + 0x78], al
mov dword [esp + 0x68], 0x4f8790
mov dword [esp + 0x7c], ecx
test edi, edi
je 0x4f8ac1
lea edx, [esp + 0x64]
push edi
push edx
call fcn.004dda50
mov al, byte [esp + 0x80]
add esp, 8
cmp byte [ebp + 0x24], 0
jne 0x4f8ac9
and al, 0xfd
test al, al
je 0x4f8ba6
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x44]
lea edx, [eax + 1]
mov dword [ecx + 0x44], edx
lea edx, [eax - 1]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], eax
test eax, edx
jne 0x4f8b18
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
push 0
push ecx
call fcn.004affd0
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x5c]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x58]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x4f8b26
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [ebp + 8]
push 0x10
push esi
push edi
push eax
call fcn.004e5820
add esp, 0x10
cmp dword [esp + 0x18], 4
jne 0x4f8b54
mov ecx, dword [ebp + 0x2c]
push 0
push ecx
push 0
push 0xd
push ebx
call fcn.004cd400
jmp 0x4f8b88
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
jne 0x4f8b63
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp ecx, 5
jne 0x4f8b75
mov ecx, 2
mov dword [esp + 0x18], ecx
push 3
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
push 0x113
call fcn.004ef940
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
add esp, 0x14
test eax, eax
je 0x4f8ba6
mov edx, dword [ebx + 0x88]
lea ecx, [esi*4 + 4]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x30], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x10], eax
jl 0x4f8a66
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
cmp byte [ebp + 0x24], 0
je 0x4f8eea
cmp dword [esp + 0x1c], 0
jne 0x4f8eea
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x44]
lea edx, [eax + 1]
mov dword [ecx + 0x44], edx
lea edx, [eax - 1]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], eax
test eax, edx
jne 0x4f8c22
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
push 0
push ecx
call fcn.004affd0
mov edx, dword [esp + 0x40]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x58]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x4f8c30
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
mov eax, dword [ebp + 0xc]
movzx edi, byte [eax + 0x30]
mov al, byte [ebp + 0x28]
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], edi
cmp al, 0xa
je 0x4f8c56
movzx ecx, al
mov dword [esp + 0x18], ecx
mov edi, ecx
jmp 0x4f8c67
cmp edi, 0xa
jne 0x4f8c67
mov dword [esp + 0x18], 2
mov edi, dword [esp + 0x18]
cmp byte [esp + 0xd], 0
je 0x4f8c9c
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
push esi
push eax
push 0x4e
push ebx
call fcn.004cd400
mov eax, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jle 0x4f8c9c
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
mov eax, 0x90
mov word [edx + ecx*4 - 0x12], ax
cmp edi, 5
jne 0x4f8cdc
cmp byte [ebp + 0x28], 5
je 0x4f8cdc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4f8cdc
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x4f8cc7
cmp cl, 3
je 0x4f8cc7
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f8cb1
jmp 0x4f8cdc
push 0
push 0
push 0
push 0xd
push ebx
call fcn.004cd400
add esp, 0x14
mov dword [esp + 0x40], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
push edx
push esi
push eax
push 0x20
push ebx
call fcn.004cd400
lea eax, [edi - 1]
add esp, 0x14
cmp eax, 4
ja case.default.0x4f8cfc
jmp dword [eax*4 + 0x4f9be0]
mov ecx, dword [esp + 0x34]
mov edi, dword [ebp + 8]
xor esi, esi
test dword [ecx + 0x18], 0x2000
je 0x4f8d2c
mov edx, dword [ebp + 0xc]
push esi
push esi
push 0x6d
mov eax, edi
call fcn.0050a1c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4f8d83
mov edx, dword [edi]
test dword [edx + 0x18], 0x4000
je 0x4f8d4b
mov eax, dword [ebp + 0xc]
push 0
push 0
push eax
call fcn.004f66d0
add esp, 0xc
test eax, eax
jne 0x4f8d83
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
je 0x4f8db4
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x4f8d5d
mov eax, edi
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push 0
mov byte [eax + 0x14], 1
mov eax, dword [ebp + 0x14]
push edx
push eax
push edi
call fcn.004f1b10
add esp, 0x14
mov dword [esp + 0x44], 1
jmp 0x4f8e40
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x4f8d8c
mov eax, edi
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov byte [eax + 0x14], 1
mov eax, dword [ebp + 0x14]
push eax
push esi
push ecx
push edi
call fcn.004f1800
add esp, 0x2c
mov dword [esp + 0x44], 1
jmp 0x4f8e40
mov edx, dword [ebp + 0x2c]
push 0
push edx
push 0
push 0xd
push ebx
call fcn.004cd400
jmp 0x4f8e3d
mov dword [esp + 0x18], 2
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x28]
mov esi, dword [ebp + 8]
mov edi, dword [esi]
test ax, ax
jl 0x4f8e13
movsx ecx, ax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov edx, dword [eax]
push ecx
push edx
push str._s._s
call fcn.004b1850
add esp, 0xc
mov ecx, 0x613
jmp 0x4f8e2b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push str._s.rowid
call fcn.004b1850
add esp, 8
mov ecx, 0xa13
mov edx, dword [esp + 0x18]
push 2
push 0xfffffffffffffff9
push eax
push edx
push ecx
mov eax, esi
call fcn.004ef940
add esp, 0x14
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
xor edx, edx
cmp eax, edx
je 0x4f8e61
mov ecx, dword [esp + 0x54]
lea ecx, [ecx*4 + 4]
sub eax, ecx
mov ecx, dword [ebx + 0x88]
mov dword [eax], ecx
cmp dword [esp + 0x40], edx
je 0x4f8eea
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4f8e8d
push 0
push 0
push 0
push 0xd
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f8eba
mov esi, dword [ebx + 0x58]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov byte [eax], 0xd
mov word [eax + 2], si
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
jge 0x4f8ecf
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4f8ede
mov eax, 0x5ef850
jmp 0x4f8ee7
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f9b18
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
cmp dword [ecx + edx*4], 0
je 0x4f9b01
cmp byte [esp + 0xe], 0
jne 0x4f8f32
mov eax, dword [ebp + 0x1c]
inc eax
push eax
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004f7240
add esp, 8
mov byte [esp + 0xe], 1
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x44]
lea ecx, [eax + 1]
mov dword [edx + 0x44], ecx
lea ecx, [eax - 1]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
test eax, ecx
jne 0x4f9024
mov edi, dword [edx + 0x48]
mov esi, dword [edx]
lea eax, [eax*8 + 4]
xor ecx, ecx
mov dword [esp + 0x5c], eax
test edi, edi
jne 0x4f8f84
push ecx
mov ecx, eax
push ecx
mov eax, esi
call fcn.004afe20
add esp, 8
jmp 0x4f8fbd
cmp edi, dword [esi + 0x120]
jb 0x4f8fae
cmp edi, dword [esi + 0x124]
jae 0x4f8fae
movzx eax, word [esi + 0x104]
cdq
cmp ecx, edx
ja 0x4f8fae
jb 0x4f8fa8
cmp dword [esp + 0x5c], eax
ja 0x4f8fae
mov dword [esp + 0x28], edi
jmp 0x4f8fc1
mov edx, dword [esp + 0x5c]
push ecx
push edx
push edi
call fcn.004aff20
add esp, 0xc
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
jne 0x4f9013
test edi, edi
je 0x4f9013
test esi, esi
je 0x4f900a
cmp dword [esi + 0x1c8], 0
je 0x4f8fe4
mov eax, edi
mov ecx, esi
call fcn.004afa70
jmp 0x4f9013
cmp edi, dword [esi + 0x120]
jb 0x4f900a
cmp edi, dword [esi + 0x124]
jae 0x4f900a
mov eax, dword [esi + 0x11c]
mov dword [edi], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edi
jmp 0x4f9013
push edi
call fcn.004afa00
add esp, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x48], edx
mov edx, ecx
mov edx, dword [edx + 0x48]
test edx, edx
je 0x4f9032
mov dword [edx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
mov dword [esp + 0x20], ecx
je 0x4f90fd
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4f9074
push 0
push ecx
push 0
push 0x3b
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f909e
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x3b
mov word [eax + 2], dx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx]
or eax, 0xffffffff
sub eax, dword [ebp + 0x1c]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4f90c9
push 0
push 0
push eax
push edi
call fcn.004e0c80
add esp, 0x10
mov esi, eax
jmp 0x4f90cb
xor esi, esi
cmp byte [edi + 0x45], 0
jne 0x4f90e5
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push 0x10
push eax
push esi
push ecx
call fcn.004e5b10
add esp, 0x10
test esi, esi
je 0x4f90f3
push esi
push edi
call fcn.004e0aa0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + ecx*4]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x10], 0
cmp dx, word [eax + 0x34]
jae 0x4f9301
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], edx
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x10]
movsx eax, word [ecx + eax*2]
cmp eax, 0xfffffffe
jne 0x4f9274
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
or eax, 0xffffffff
sub eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], esi
mov dword [ecx + 0x38], eax
mov edx, dword [edx + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [edx + eax + 8]
test eax, eax
je 0x4f9179
push 0
push 0
push eax
push esi
call fcn.004e0c80
add esp, 0x10
jmp 0x4f917b
xor eax, eax
cmp byte [esi + 0x45], 0
mov dword [esp + 0x38], eax
jne 0x4f9252
test eax, eax
je 0x4f91ec
cmp byte [eax], 0x9d
jne 0x4f91ec
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov edx, dword [esi + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x88]
cmp dword [edx + 0x30], eax
mov ecx, dword [ecx + 0x1c]
jg 0x4f91be
push 0
push edi
push ecx
push 0x40
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9252
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x40
mov word [eax + 2], dx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], dl
jmp 0x4f9252
push edi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e4510
add esp, 0xc
cmp eax, edi
je 0x4f9252
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
test esi, esi
je 0x4f9252
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x4f9226
push 0
push edi
push eax
push 0x41
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9252
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
xor edx, edx
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx], 0x41
mov word [ecx + 2], dx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], dl
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4f9268
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004e0aa0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0
jmp 0x4f92e2
cmp eax, 0xffffffff
je 0x4f928d
mov edx, dword [ebp + 0xc]
movsx ecx, word [edx + 0x28]
cmp eax, ecx
je 0x4f928d
mov edx, dword [ebp + 0x1c]
lea edx, [eax + edx + 1]
jmp 0x4f9290
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebx + 0xc]
xor ecx, ecx
test eax, eax
mov eax, dword [ebx + 0x88]
setl cl
add ecx, 0x41
cmp dword [esi + 0x30], eax
jg 0x4f92b9
push 0
push edi
push edx
push ecx
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f92e2
lea esi, [eax + 1]
mov dword [ebx + 0x88], esi
mov esi, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
movzx ecx, word [edx + 0x34]
add dword [esp + 0x24], 0x18
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f9130
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + eax*4]
mov eax, dword [ebx + 0x88]
mov esi, dword [ebx + 0xc]
cmp dword [esi + 0x30], eax
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 0x34]
jg 0x4f9336
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push 0x63
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9369
lea esi, [eax + 1]
mov dword [ebx + 0x88], esi
mov esi, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x28]
mov byte [eax], 0x63
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
cmp byte [esp + 0xd], 0
mov esi, dword [esp + 0x14]
je 0x4f93a8
cmp dword [esp + 0x1c], esi
jne 0x4f93a8
cmp byte [ebp + 0x24], 0
jne 0x4f93a8
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4f9b01
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
jmp 0x4f9b01
movzx eax, byte [esi + 0x36]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4f93dc
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4f9b01
mov edx, dword [esp + 0x20]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0x88]
sub eax, ecx
mov dword [eax], edx
jmp 0x4f9b01
mov cl, byte [ebp + 0x28]
cmp cl, 0xa
je 0x4f93e9
movzx eax, cl
jmp 0x4f93f3
cmp eax, 0xa
jne 0x4f93f7
mov eax, 2
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], 0
jne 0x4f946b
cmp dword [esi + 0x14], 0
jne 0x4f946b
cmp dword [esp + 0x1c], esi
jne 0x4f946b
cmp eax, 5
jne 0x4f946b
mov esi, dword [esp + 0x34]
test dword [esi + 0x18], 0x2000
mov edi, dword [ebp + 8]
je 0x4f9436
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0x6d
mov eax, edi
call fcn.0050a1c0
add esp, 0xc
test eax, eax
jne 0x4f946e
test dword [esi + 0x18], 0x4000
je 0x4f9380
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x4f946e
mov ecx, dword [eax]
mov eax, dword [eax + 0x48]
push 0
add eax, 0x38
push ecx
push eax
call fcn.004b3d50
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x4f946e
jmp 0x4f9380
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 0x32]
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], ecx
mov dword [esp + 0x50], eax
jg 0x4f94a5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
push 0x1c
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f94e2
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov byte [eax], 0x1c
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x4f94fe
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jne 0x4f9512
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
jmp 0x4f956f
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
jne 0x4f9547
mov al, byte [edi + 0x13]
test al, al
jne 0x4f9530
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
mov ecx, edi
mov dword [esp + 0x24], ecx
jmp 0x4f956f
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edi, dword [edi + eax*4 + 0x15c]
mov ecx, edi
mov dword [esp + 0x24], ecx
jmp 0x4f956f
mov eax, dword [edi + 0x1c]
cmp ecx, eax
mov edx, dword [edi + 0x20]
jg 0x4f955e
lea esi, [edx + ecx]
sub eax, ecx
mov dword [edi + 0x20], esi
mov dword [edi + 0x1c], eax
jmp 0x4f9569
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [edi + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x24], edx
cmp byte [esp + 0xd], 0
jne 0x4f9585
cmp dword [esp + 0x18], 5
jne 0x4f9940
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
test byte [edx + 0x24], 0x20
jne 0x4f967b
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4f95b9
mov eax, dword [esp + 0x30]
push 0
push ecx
push eax
push 0x81
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f95e9
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x81
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp byte [esp + 0xd], 0
je 0x4f9940
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4f961e
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push 0x4e
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9658
mov ecx, dword [ebx + 0x58]
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x20]
mov byte [eax], 0x4e
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4f9940
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ecx, 0x90
mov word [eax + edx*4 - 0x12], cx
jmp 0x4f9940
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
je 0x4f974b
xor edx, edx
xor edi, edi
cmp dx, word [eax + 0x32]
jae 0x4f974b
mov dword [esp + 0x10], ecx
jmp 0x4f96a0
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 0x34]
xor eax, eax
test edx, edx
jle 0x4f96cd
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 4]
movzx esi, word [esi + edi*2]
mov ecx, dword [ecx + 4]
lea esp, [esp]
cmp si, word [ecx]
je 0x4f96fa
inc eax
add ecx, 2
cmp eax, edx
jl 0x4f96c0
or eax, 0xffffffff
mov edx, dword [ebx + 0xc]
movsx ecx, ax
mov eax, dword [ebx + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4f96ff
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push 0x60
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9736
movzx eax, ax
jmp 0x4f96d0
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x60
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 0x32]
inc dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4f96a0
cmp byte [esp + 0xd], 0
je 0x4f9940
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + 0x32]
mov ecx, dword [ebx + 0x88]
mov edx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 0x38]
and cl, 3
mov dword [esp + 0x48], 0x4d
cmp cl, 2
jne 0x4f978b
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
jmp 0x4f9793
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4f9940
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [eax + edi*4]
mov eax, dword [ecx]
mov dl, byte [eax + 0x42]
mov cl, byte [eax + 0x99]
mov byte [esp + 0x54], dl
mov byte [esp + 0xf], cl
test esi, esi
je 0x4f97db
movzx edx, cl
push edx
push esi
push eax
call fcn.004f0630
add esp, 0xc
jmp 0x4f97de
mov eax, dword [eax + 8]
test eax, eax
je 0x4f97ee
movzx ecx, byte [esp + 0x54]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp byte [esp + 0xf], 0
mov dword [esp + 0x38], eax
jne 0x4f9819
test eax, eax
je 0x4f9803
cmp dword [eax + 0xc], 0
jne 0x4f9819
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
push esi
push edx
push ecx
call fcn.004f0560
add esp, 0xc
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
movzx ecx, word [ecx + 0x32]
movsx eax, word [edx + edi*2]
dec ecx
cmp edi, ecx
jne 0x4f983d
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 0x4e
mov esi, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], esi
mov ecx, dword [ebp + 0x20]
lea edi, [ecx + eax + 1]
jg 0x4f9874
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add eax, ecx
push eax
mov eax, dword [esp + 0x4c]
push edx
push edi
push eax
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f98b6
mov eax, dword [ebx + 0x58]
lea ecx, [esi + 1]
mov dword [ebx + 0x88], ecx
mov cl, byte [esp + 0x48]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], cl
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
add edx, ecx
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, esi
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
je 0x4f98ce
mov eax, dword [esp + 0x38]
push 0xfffffffffffffffe
call fcn.004cdcf0
add esp, 4
jmp 0x4f990d
test eax, eax
jge 0x4f98d9
mov eax, dword [ebx + 0x88]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
cmp byte [eax + edx*4 + 1], 0
lea ecx, [eax + edx*4]
je 0x4f98fe
mov edx, dword [esp + 0x38]
push edx
push ebx
mov eax, 0xfffffffe
call fcn.004cde50
add esp, 8
jmp 0x4f990d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4f990d
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfe
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4f9927
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
mov edx, 0x90
mov word [ecx + eax*4 - 0x12], dx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 0x32]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4f97a3
mov eax, dword [esp + 0x18]
xor edx, edx
cmp eax, edx
jle 0x4f99cc
cmp eax, 3
jle 0x4f99b1
cmp eax, 4
jne 0x4f99cc
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4f997e
push edx
mov edx, dword [ebp + 0x2c]
push edx
push 0
push 0xd
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9a6d
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [ebp + 0x2c]
mov byte [eax], 0xd
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
jmp 0x4f9a6d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 8]
push edx
push eax
push esi
call fcn.004ef9c0
add esp, 0xc
jmp 0x4f9a70
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
xor esi, esi
cmp eax, edx
jne 0x4f99da
mov eax, ecx
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x34]
test dword [eax + 0x18], 0x2000
je 0x4f9a2a
mov ecx, dword [ecx]
xor esi, esi
xor eax, eax
test dword [ecx + 0x18], 0x20000
je 0x4f9a0b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
call fcn.005093e0
add esp, 4
xor edx, edx
mov ecx, eax
cmp eax, edx
je 0x4f9a24
cmp byte [ecx + 8], 0x6d
jne 0x4f9a1d
movzx edi, byte [ecx + 9]
or esi, edi
mov ecx, dword [ecx + 0x20]
cmp ecx, edx
jne 0x4f9a11
neg esi
sbb esi, esi
and esi, eax
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
sete dl
movzx eax, dl
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 0x18]
push 5
push 0
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
push edx
push eax
call fcn.004f1800
add esp, 0x2c
mov dword [esp + 0x44], 1
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4f9a8f
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x28]
je 0x4f9b01
mov edi, dword [esp + 0x3c]
cmp edi, 1
jne 0x4f9ae7
test edx, edx
je 0x4f9b01
cmp byte [esi + 0x13], 8
jae 0x4f9b01
xor eax, eax
lea ecx, [esi + 0x94]
cmp byte [esi + 0x19], al
jbe 0x4f9ad1
lea esp, [esp]
cmp dword [ecx + 0xc], edx
je 0x4f9ae1
movzx edi, byte [esi + 0x19]
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x4f9ac0
movzx eax, byte [esi + 0x13]
mov dword [esi + eax*4 + 0x15c], edx
inc byte [esi + 0x13]
jmp 0x4f9b01
mov byte [ecx + 6], 1
jmp 0x4f9b01
push edi
push edx
push esi
call fcn.004e41a0
add esp, 0xc
cmp edi, dword [esi + 0x1c]
jle 0x4f9b01
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4f8f04
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
je 0x4f9bbf
mov edx, dword [ebx + 0xc]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4f9b48
push edi
push ecx
push edi
push 0xd
mov esi, ebx
call fcn.004cd3c0
add esp, 0x10
jmp 0x4f9b72
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0xd
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
mov eax, dword [esp + 0x58]
cmp eax, edi
mov ecx, dword [ebx + 0x88]
jge 0x4f9b83
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4f9ba3
mov eax, 0x5ef850
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x30]
pop edi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret