Function at 0x4f2880
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
push ebp
mov ebp, dword [esp + 0xd0]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], esi
test edi, edi
je 0x4f28cc
cmp byte [esi + 0x1e], 0
jne 0x4f28cc
cmp dword [ebp + 0x40], 0
jne 0x4f28cc
push 0
push 0
push 0
push 0x15
mov eax, ebp
call fcn.004c35f0
add esp, 0x10
test eax, eax
je 0x4f28db
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc8
ret
push ebx
push 0x2c
lea eax, [esp + 0x70]
push 0
push eax
call fcn.0052b710
mov ecx, dword [esp + 0xf0]
add esp, 0xc
cmp byte [ecx], 4
ja 0x4f2911
mov ebx, dword [edi + 0x18]
call fcn.004b4c50
mov edx, 0xfffe
and word [edi + 6], dx
mov dword [edi + 0x18], 0
push 0
push edi
push ebp
call fcn.004f27f0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 8]
add esp, 0xc
cmp dword [ebp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
jne 0x4f3c1d
mov edx, esi
cmp byte [edx + 0x1e], 0
jne 0x4f3c1d
mov eax, edi
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
mov edi, ebp
mov dword [esp + 0x18], eax
call fcn.004c5cd0
mov ebp, eax
test ebp, ebp
je 0x4f3c1d
mov edi, dword [esp + 0xe0]
mov ebx, dword [esp + 0xdc]
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x1c], eax
jne 0x4f2aa5
mov edx, dword [esp + 0x40]
movsx ecx, word [edx]
cmp eax, ecx
jge 0x4f2aa5
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8 + 8]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x4f2a92
cmp byte [eax + 0x14], 0
jne 0x4f2a92
mov ecx, edi
call fcn.004b4b60
add dword [ebx + 0x204], eax
mov edx, dword [esp + 0x48]
movzx esi, word [edx + 6]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
shr esi, 2
and esi, 1
push esi
push eax
push ecx
push edi
push ebx
call fcn.004cd6d0
add esp, 0x14
test eax, eax
je 0x4f2a07
test esi, esi
je 0x4f29fd
or word [edi + 6], 4
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], 0xffffffff
jmp 0x4f2a4f
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x18]
mov dword [esp + 0xcc], eax
xor eax, eax
lea edx, [esp + 0xc8]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x48]
push edx
push eax
push ebx
mov byte [esp + 0xd4], 9
mov byte [esp + 0xd5], 0
call fcn.004f2880
add esp, 0xc
mov byte [esi + 0x14], 1
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x1e], 0
jne 0x4f3c1d
mov edi, dword [esp + 0xe0]
mov ecx, edi
call fcn.004b4b60
mov ebx, dword [esp + 0xdc]
sub dword [ebx + 0x204], eax
mov eax, dword [esp + 0xe4]
cmp byte [eax], 4
mov edx, dword [edi + 8]
mov dword [esp + 0x40], edx
jbe 0x4f2a92
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x10]
inc eax
cmp dword [edi + 0x1c], 0
mov dword [esp + 0x10], eax
je 0x4f2983
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
movzx eax, word [edi + 6]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x14]
and eax, 1
cmp dword [edi + 0x1c], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], eax
je 0x4f2b3b
cmp dword [edi + 0x24], 0
jne 0x4f2b1e
xor ecx, ecx
xor edx, edx
mov eax, edi
lea ecx, [ecx]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edi
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x4f2ae0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x4f2b1e
cmp edx, eax
jle 0x4f2b1e
push str.too_many_terms_in_compound_SELECT
mov esi, ebx
call fcn.004c0c70
add esp, 4
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc8
ret
mov ecx, dword [esp + 0xe4]
push ecx
push edi
push ebx
call fcn.004e0100
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc8
ret
mov edx, dword [ecx]
mov eax, dword [esp + 0xe4]
push edx
mov esi, ebx
call fcn.004c5370
add esp, 4
test eax, eax
jne 0x4f3c1d
mov edi, dword [esp + 0xe0]
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x4f2b91
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
push 0
push ecx
push edx
call fcn.004bcdb0
mov dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, 0xfffe
add esp, 0xc
and word [edi + 6], ax
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0xdc]
test esi, esi
je 0x4f2bdb
push esi
push ebx
call fcn.004d6780
mov ecx, dword [ebx + 0x44]
mov dword [esi + 8], ecx
inc dword [ebx + 0x44]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x76
xor eax, eax
mov edi, ebp
call fcn.004c20e0
mov edx, dword [esp + 0xf4]
add esp, 0x14
mov dword [esp + 0x2c], eax
mov dword [edx + 0x40], eax
mov edi, edx
jmp 0x4f2be3
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0xe4]
cmp byte [eax], 9
jne 0x4f2c06
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push eax
push 0x76
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
mov eax, ebp
call fcn.004bbe60
push eax
mov dword [esp + 0xa4], eax
push edi
mov eax, ebx
call fcn.004c5d00
add esp, 8
cmp dword [esp + 0x20], 0
je 0x4f2cf0
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x68], eax
inc eax
mov dword [ebx + 0x44], eax
mov ecx, dword [edi]
push ecx
push ebx
call fcn.004d6780
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x30], eax
jg 0x4f2c60
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4f2c60
mov esi, 1
jmp 0x4f2c8b
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x76
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, esi
test ecx, ecx
je 0x4f2ce0
cmp byte [edi + 0x1e], 0
jne 0x4f2ce0
test esi, esi
jge 0x4f2ca5
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.004bc140
cmp dword [esp + 0x30], 0
mov dword [esi + 0x10], 0
jne 0x4f2cd3
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x4f2cf8
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4f2cf8
mov ecx, dword [esp + 0x30]
mov eax, 0xfffffff0
call fcn.004bc140
jmp 0x4f2cf8
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x14]
jne 0x4f2d99
test esi, esi
jne 0x4f2d9d
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call fcn.004e5270
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4f3c1d
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
test ecx, ecx
jl 0x4f2d5a
test edi, edi
jne 0x4f2d5a
lea eax, [edi + 1]
mov edx, ebp
call fcn.004bc1c0
mov ecx, dword [esp + 0xe0]
mov dword [ecx + 0x40], 0xffffffff
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0xe8]
push 0xffffffffffffffff
push edi
push 0
push 0
push edx
push eax
push ecx
call fcn.004cce90
push esi
call fcn.004bf290
add esp, 0x2c
jmp 0x4f3ba4
test esi, esi
je 0x4f2ddd
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x4f2dbf
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4f2db2
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
test eax, eax
jle 0x4f2ddd
add ecx, 0x10
jmp 0x4f2dd0
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4f2dd0
mov eax, ebp
call fcn.004bbe60
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xc0], ecx
test esi, esi
je 0x4f2e53
mov edx, dword [esi]
inc edx
mov dword [esp + 0x78], edx
jmp 0x4f2e5b
mov dword [esp + 0x78], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0x78], esi
call fcn.004c9f80
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0xa8]
push ecx
call fcn.004c9f80
mov ecx, dword [esp + 0x50]
add esp, 8
test ecx, ecx
je 0x4f2e9c
lea eax, [esp + 0xa4]
call fcn.004c9f50
mov edx, dword [esp + 0x80]
xor edi, edi
cmp dword [esp + 0x90], edi
mov dword [esp + 0x88], edx
jle 0x4f2eee
xor esi, esi
jmp 0x4f2ec0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esi + eax]
mov ebx, dword [ecx + 0x10]
lea edx, [esp + 0xa4]
push edx
call fcn.004c9f80
inc edi
add esp, 4
add esi, 0x10
cmp edi, dword [esp + 0x90]
jl 0x4f2ec0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x4f3c1d
test esi, esi
je 0x4f3912
mov ebx, dword [esp + 0xdc]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x70], eax
inc eax
push esi
push ebx
mov dword [ebx + 0x44], eax
call fcn.004d6780
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
add esp, 8
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], edx
jg 0x4f2f51
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4f2f51
mov esi, 1
jmp 0x4f2f80
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x76
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov dword [esp + 0x3c], esi
mov eax, esi
test ecx, ecx
je 0x4f2fcf
cmp byte [edi + 0x1e], 0
jne 0x4f2fcf
test esi, esi
jge 0x4f2f9e
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.004bc140
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, ecx
jne 0x4f2fc6
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x4f2fdd
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x4f2fdd
mov ecx, dword [esp + 0x58]
mov eax, 0xfffffff0
call fcn.004bc140
mov eax, dword [ebx + 0x48]
inc eax
lea edi, [eax + 1]
mov esi, eax
lea eax, [edi + 1]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x48], eax
mov eax, ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], edi
call fcn.004bbe60
inc dword [ebx + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.004bbe60
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add eax, edx
mov dword [ebx + 0x48], eax
mov ecx, dword [ecx]
push edi
lea edx, [eax + 1]
add ecx, eax
push 0
push 0x30
mov eax, ebp
mov dword [esp + 0x70], edx
mov dword [ebx + 0x48], ecx
call fcn.004bbe00
push esi
push 0
push 0x30
mov eax, ebp
call fcn.004bbe00
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push edx
push eax
push 0x2f
mov eax, ebp
call fcn.004bbe00
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push 0
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ebx
call fcn.004e5270
add esp, 0x38
mov dword [esp + 0x98], eax
test eax, eax
je 0x4f3c1d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4f30b1
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jmp 0x4f3305
mov edi, dword [eax]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x10], edi
inc edi
mov dword [esp + 0x44], 1
mov eax, edi
mov dword [esp + 0x50], edi
mov edx, edi
test esi, esi
jle 0x4f30f2
mov ecx, dword [esp + 0x7c]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], edx
jl 0x4f30e6
inc eax
inc edx
add ecx, 0x18
sub esi, 1
jne 0x4f30e0
mov dword [esp + 0x50], eax
push eax
call fcn.004b5390
mov esi, eax
mov edx, ebx
mov dword [esp + 0x20], esi
call fcn.004b5160
mov eax, dword [esp + 0x18]
push 0
push esi
push ebx
call fcn.004c9b20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
add esi, eax
push esi
push ecx
push 6
mov eax, ebp
call fcn.004bbe00
add esp, 0x1c
cmp dword [esp + 0x80], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 0
jle 0x4f31a6
mov edx, dword [esp + 0x1c]
mov eax, edi
lea esi, [edx + eax]
mov eax, dword [esp + 0x7c]
xor edi, edi
mov ecx, dword [esp + 0x24]
cmp dword [edi + eax + 0xc], ecx
jl 0x4f3191
mov edx, dword [edi + eax + 4]
mov ecx, dword [edi + eax + 8]
push esi
push edx
mov edx, dword [edi + eax]
push ecx
push edx
push ebx
xor eax, eax
call fcn.004debb0
add esp, 0x14
cmp esi, eax
je 0x4f3188
push esi
push eax
push 9
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
inc dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
inc esi
mov ecx, dword [esp + 0x10]
inc ecx
add edi, 0x18
cmp ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
jl 0x4f3152
mov al, byte [ebx + 0x15]
test al, al
jne 0x4f31b5
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
jmp 0x4f31c1
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov esi, dword [ebx + eax*4 + 0x18]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x4f31dc
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f320f
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov byte [eax], 0x4f
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x4f3232
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f325d
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6c
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
test esi, esi
je 0x4f328c
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4f328c
xor eax, eax
lea ecx, [ebx + 0x60]
mov edi, edi
cmp dword [ecx + 0x10], esi
je 0x4f3397
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4f3270
movzx edx, dl
mov dword [ebx + edx*4 + 0x18], esi
inc byte [ebx + 0x15]
mov eax, dword [esp + 0x50]
cmp eax, dword [ebx + 0x38]
jle 0x4f329f
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004bf290
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x74]
add esp, 4
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x1c], edx
jg 0x4f32ca
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f32f9
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x12
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov edx, ebx
mov byte [esp + 0x6d], 1
call fcn.004b5160
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x54], edx
mov edx, ebx
call fcn.004b5160
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov dword [esp + 0x24], 0
jle 0x4f33f2
mov esi, dword [esp + 0x64]
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x44], 0
je 0x4f33a0
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
jg 0x4f3362
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f33d7
mov eax, dword [esp + 0x50]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 3
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
jmp 0x4f33d7
mov byte [ecx + 9], 1
jmp 0x4f328c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x6c], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
push esi
push eax
push ebx
call fcn.004e2550
add esp, 0xc
cmp eax, esi
je 0x4f33d7
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4f33d7
push esi
push eax
push 9
mov eax, ecx
call fcn.004bbe00
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], 0x14
inc eax
inc esi
cmp eax, dword [ecx]
mov dword [esp + 0x24], eax
jl 0x4f3334
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
jg 0x4f3414
mov edi, ebp
call fcn.004bbc80
test eax, eax
je 0x4f3414
mov eax, 1
xor ebx, ebx
jmp 0x4f3448
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x9c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ebx
xor ebx, ebx
mov byte [eax], 0x5f
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, esi
mov edx, dword [esp + 0x58]
push edx
push ebp
mov ecx, 0xfffffffa
call fcn.004bc210
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x58], esi
jg 0x4f3472
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f349c
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 1]
mov byte [eax], 0x84
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0xdc]
push eax
call fcn.004bd0a0
mov esi, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x10], esi
jg 0x4f34d0
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3500
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
jmp 0x4f3502
xor ebx, ebx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f3515
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3541
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x4c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov byte [eax], 0x81
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f3554
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3580
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jle 0x4f3595
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x6c]
push eax
push ecx
call fcn.004d8200
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
jg 0x4f35bd
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f35ea
mov eax, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
cmp dword [esp + 0x44], ebx
je 0x4f3639
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
jg 0x4f360b
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f367b
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
mov byte [eax], 0x6a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
jmp 0x4f367b
mov edx, dword [esp + 0x98]
push edx
call fcn.004bf290
mov esi, dword [ebp + 0x14]
add esp, 4
cmp esi, ebx
je 0x4f367b
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.004bc140
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi], 0x18
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f368e
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f36ba
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f36cd
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f36f5
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x3c], esi
jg 0x4f370c
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3739
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f374c
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3774
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4f378d
mov edx, dword [esp + 0x60]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4f37a0
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f37cb
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax], 0x81
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x54], eax
jg 0x4f37e6
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f380e
mov eax, dword [esp + 0x54]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x6c]
push edx
call fcn.004c6270
mov eax, dword [esp + 0x4c]
push 8
lea edi, [esi + 1]
mov esi, dword [esp + 0xe4]
push edi
push eax
push esi
call fcn.004d44d0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x50]
push edi
push edx
push eax
mov eax, dword [esp + 0x104]
mov edx, dword [eax]
push ecx
push ebx
push ebx
push edx
push eax
push esi
call fcn.004cce90
mov esi, dword [ebp + 0xc]
add esp, 0x3c
cmp dword [ebp + 0x10], esi
jg 0x4f3878
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f38a0
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4f38b9
mov ecx, dword [esp + 0x2c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.004d8000
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
jg 0x4f38e5
mov edi, ebp
call fcn.004bbc80
test eax, eax
jne 0x4f3b8b
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
jmp 0x4f3b8b
mov esi, dword [esp + 0xe0]
lea edx, [esp + 0x6c]
xor ebx, ebx
push edx
mov eax, esi
mov dword [esp + 0x30], ebx
call fcn.004b6a00
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4f3a5a
mov ebx, dword [esp + 0xdc]
mov esi, dword [edi + 0x48]
mov ecx, dword [ebx]
call fcn.004b6400
mov ecx, dword [ebx + 0x44]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x34], ecx
inc ecx
mov dword [ebx + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x18]
mov ebx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
call fcn.004dfb60
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x18]
push edx
push 0
push eax
push ebx
call fcn.004bd500
mov eax, dword [edi + 0x14]
add esp, 0x10
test eax, eax
je 0x4f39d0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4f39a1
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x4f39a3
mov ecx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4f3995
test ecx, ecx
je 0x4f39d0
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 0xc]
jge 0x4f39d0
mov esi, dword [ecx + 0x14]
push ecx
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.004d5140
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4f39d4
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push ebx
push esi
push edx
push 0xd
mov eax, ebp
call fcn.004bbd00
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4f3a2f
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
test ecx, ecx
je 0x4f3a21
cmp byte [edi + 0x1e], 0
jne 0x4f3a21
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004bc140
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
jmp 0x4f3a2f
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffff0
call fcn.004bc140
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x34]
push eax
push esi
push 0x6b
mov eax, ebp
call fcn.004bbe00
push esi
push 0x21
mov eax, ebp
call fcn.004bbdb0
add esp, 0x14
jmp 0x4f3b35
mov eax, esi
mov dword [esp + 0x20], ebx
call fcn.004b6990
mov bl, al
test bl, bl
je 0x4f3aab
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov esi, dword [esp + 0x28]
push 0
push ecx
push esi
call fcn.004bcdb0
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4f3aab
cmp byte [esi + 0x1e], 0
jne 0x4f3aab
mov ecx, dword [eax + 0xc]
cmp bl, 1
setne dl
mov byte [ecx + 0xc], dl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov byte [eax], 0x97
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0x6c]
push ecx
push edi
call fcn.004d8000
movzx dx, bl
movzx eax, dx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push edi
call fcn.004e5270
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4f3af5
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
call fcn.004b4c50
jmp 0x4f3c1d
lea ecx, [esp + 0x6c]
push ecx
push edi
call fcn.004d8200
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x4f3b20
test bl, bl
je 0x4f3b20
mov edx, dword [esi + 0x14]
push edx
push 0
push 0x60
mov eax, ebp
call fcn.004bbe00
add esp, 0xc
push esi
call fcn.004bf290
lea eax, [esp + 0x70]
push eax
mov eax, edi
call fcn.004c6270
add esp, 8
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0xdc]
push 8
push esi
push ecx
push edi
mov dword [esp + 0x48], 0
call fcn.004d44d0
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax]
push esi
push esi
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push edi
call fcn.004cce90
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 0x38
call fcn.004b4c50
xor ebx, ebx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4f3ba4
mov edx, dword [esp + 0x30]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
cmp dword [esp + 0x38], 0
je 0x4f3bd3
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xe4]
push edx
push ebp
push eax
push ecx
call fcn.004c53a0
add esp, 0x14
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4f3bef
mov edx, dword [esp + 0xa0]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0xe4]
cmp byte [eax], 5
mov dword [esp + 0x1c], 0
jne 0x4f3c1d
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xdc]
push ecx
push edx
push eax
call fcn.004cd3e0
add esp, 0xc
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x4f3c4f
cmp eax, dword [esi + 0xe8]
jb 0x4f3c4f
cmp eax, dword [esi + 0xec]
jae 0x4f3c4f
mov ecx, dword [esi + 0xe4]
mov dword [eax], ecx
dec dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
jmp 0x4f3c58
push eax
call fcn.004aebf0
add esp, 4
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4f3c96
cmp eax, dword [esi + 0xe8]
jb 0x4f3c96
cmp eax, dword [esi + 0xec]
jae 0x4f3c96
mov edx, dword [esi + 0xe4]
pop ebx
mov dword [eax], edx
dec dword [esi + 0xdc]
pop edi
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x14]
pop esi
pop ebp
add esp, 0xc8
ret
push eax
call fcn.004aebf0
mov eax, dword [esp + 0x20]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc8
ret