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

Disassembly:
push ebx
push esi
add esp, 0xffffff48
mov ebx, eax
mov eax, dword [ebx + 0x10028]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e4771
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
dec eax
cdq
mov dword [esp], 0
mov dword [esp + 4], 0
test edx, edx
jl 0x4e47f0
add eax, 1
adc edx, 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10028]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4e47ad
sub esi, 4
mov esi, dword [esi]
mov eax, dword [esp]
mov edx, dword [ebx + 0x1002c]
lea ecx, [edx + eax*8]
push ecx
push dword [ebx + 0x1001c]
push dword [ebx + 0x10018]
mov eax, esi
cdq
call fcn.0040c668
pop ecx
add dword [ecx], eax
adc dword [ecx + 4], edx
add dword [esp], 1
adc dword [esp + 4], 0
mov eax, dword [esp]
cmp eax, dword [esp + 0x18]
jne 0x4e4796
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x1c]
jne 0x4e4796
cmp byte [ebx + 0x10008], 0
je 0x4e4b6c
cmp byte [ebx + 0x10031], 0
je 0x4e4821
push 0
push 0
mov eax, dword [ebx + 0x10024]
call fcn.004a8420
mov byte [ebx + 0x10031], 0
jmp 0x4e4934
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
push edx
push eax
push dword [ebx + 0x1001c]
push dword [ebx + 0x10018]
mov eax, dword [ebx + 0x10010]
mov edx, dword [ebx + 0x10014]
call fcn.0040c668
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x2c], 0
jne 0x4e486c
cmp dword [esp + 0x28], 0
jae 0x4e4880
jmp 0x4e486e
jge 0x4e4880
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x4e4890
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x10018]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1001c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x34]
jne 0x4e48ba
cmp eax, dword [esp + 0x30]
jae 0x4e48ce
jmp 0x4e48bc
jge 0x4e48ce
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x4e48de
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
push dword [ebx + 0x1001c]
push dword [ebx + 0x10018]
mov eax, dword [ebx + 0x10010]
mov edx, dword [ebx + 0x10014]
call fcn.0040c668
mov edx, dword [ebx + 0x10024]
mov esi, dword [edx + 4]
add eax, esi
mov edx, esi
mov ecx, dword [esp + 8]
call fcn.00406ff8
push dword [esp + 0xc]
push dword [esp + 0xc]
mov eax, dword [ebx + 0x10024]
call fcn.004a8420
cmp byte [ebx + 0x10032], 0
je 0x4e49f5
mov byte [ebx + 0x10030], 1
jmp 0x4e49f5
mov eax, dword [ebx + 0x10024]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x4c], 0
jne 0x4e4988
cmp dword [esp + 0x48], 0x10000
jae 0x4e499c
jmp 0x4e498a
jge 0x4e499c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
jmp 0x4e49ac
mov dword [esp + 0x50], 0x10000
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x50]
mov ecx, eax
lea edx, [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x4e49d6
cmp dword [esp + 0x10], 0
jbe 0x4e49ec
jmp 0x4e49d8
jle 0x4e49ec
lea edx, [ebx + 8]
mov eax, dword [ebx + 0x10024]
mov ecx, dword [esp + 0x10]
call fcn.004aa134
jmp 0x4e49f5
mov byte [ebx + 0x10032], 1
jmp 0x4e4a27
mov eax, dword [ebx + 0x10024]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
cmp edx, dword [esp + 4]
jne 0x4e4a1f
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4e494d
jmp 0x4e4a27
pop edx
pop eax
jl 0x4e494d
mov eax, dword [ebx + 0x10028]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4e4a3e
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
dec eax
cdq
mov dword [esp], 0
mov dword [esp + 4], 0
test edx, edx
jl 0x4e4e06
add eax, 1
adc edx, 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
push edx
push eax
push dword [ebx + 0x1001c]
push dword [ebx + 0x10018]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0040c668
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
cmp dword [esp + 0x64], 0
jne 0x4e4aae
cmp dword [esp + 0x60], 0
jae 0x4e4ac2
jmp 0x4e4ab0
jge 0x4e4ac2
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jmp 0x4e4ad2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
push 0
push 2
mov eax, dword [ebx + 0x10018]
mov edx, dword [ebx + 0x1001c]
call fcn.0040c668
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x6c]
jne 0x4e4b05
cmp eax, dword [esp + 0x68]
jae 0x4e4b19
jmp 0x4e4b07
jge 0x4e4b19
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
jmp 0x4e4b29
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
mov eax, dword [esp + 8]
mov edx, dword [ebx + 0x10028]
mov eax, dword [edx + eax*4]
call fcn.004a848c
add dword [esp], 1
adc dword [esp + 4], 0
mov eax, dword [esp]
cmp eax, dword [esp + 0x18]
jne 0x4e4a67
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x1c]
jne 0x4e4a67
jmp 0x4e4e06
push 0
push 0
mov eax, dword [ebx + 0x10024]
call fcn.004a8420
jmp 0x4e4c49
mov eax, dword [ebx + 0x10024]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
cmp dword [esp + 0x84], 0
jne 0x4e4bc7
cmp dword [esp + 0x80], 0x10000
jae 0x4e4be7
jmp 0x4e4bc9
jge 0x4e4be7
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
jmp 0x4e4bfd
mov dword [esp + 0x88], 0x10000
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x88]
mov ecx, eax
lea edx, [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x4e4c2a
cmp dword [esp + 0x10], 0
jbe 0x4e4c40
jmp 0x4e4c2c
jle 0x4e4c40
lea edx, [ebx + 8]
mov eax, dword [ebx + 0x10024]
mov ecx, dword [esp + 0x10]
call fcn.004aa134
jmp 0x4e4c49
mov byte [ebx + 0x10030], 1
jmp 0x4e4c7b
mov eax, dword [ebx + 0x10024]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
cmp edx, dword [esp + 4]
jne 0x4e4c73
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4e4b80
jmp 0x4e4c7b
pop edx
pop eax
jl 0x4e4b80
mov eax, dword [ebx + 0x10028]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e4c98
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
dec eax
cdq
mov dword [esp], 0
mov dword [esp + 4], 0
test edx, edx
jl 0x4e4e06
add eax, 1
adc edx, 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10024]
call fcn.004a83f8
push edx
push eax
push dword [ebx + 0x1001c]
push dword [ebx + 0x10018]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0040c668
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
cmp dword [esp + 0x9c], 0
jne 0x4e4d14
cmp dword [esp + 0x98], 0
jae 0x4e4d2e
jmp 0x4e4d16
jge 0x4e4d2e
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
jmp 0x4e4d4a
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0x10018]
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x1001c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
cmp edx, dword [esp + 0xa4]
jne 0x4e4d86
cmp eax, dword [esp + 0xa0]
jae 0x4e4da6
jmp 0x4e4d88
jge 0x4e4da6
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
jmp 0x4e4dc2
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
push dword [esp + 0xb4]
push dword [esp + 0xb4]
mov eax, dword [esp + 8]
mov edx, dword [ebx + 0x10028]
mov eax, dword [edx + eax*4]
call fcn.004a848c
add dword [esp], 1
adc dword [esp + 4], 0
mov eax, dword [esp]
cmp eax, dword [esp + 0x18]
jne 0x4e4cc1
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x1c]
jne 0x4e4cc1
add esp, 0xb8
pop esi
pop ebx
ret