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

Disassembly:
push 0xffffffffffffffff
push 0x56f61d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x30]
push edi
xor ebx, ebx
push ecx
mov ecx, dword [esp + 0x68]
mov edi, 0xd
push ebx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.004e19d0
cmp dword [eax], 8
jne 0x4e07c2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x5c9d30
mov ecx, eax
call fcn.004b2a50
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x4e0392
lea ecx, [esp + 0x24]
call fcn.004b24e0
jmp 0x4e07c2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
call fcn.004b24e0
cmp dword [ebp + 4], ebx
jle 0x4e07c2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x5ca724
mov ecx, eax
call fcn.004b2a50
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x4e03e3
lea ecx, [esp + 0x24]
call fcn.004b24e0
jmp 0x4e07c2
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
call fcn.004b24e0
cmp esi, ebx
jl 0x4e07c2
mov esi, dword [ebp + 4]
mov eax, esi
shl eax, 4
push eax
call fcn.0055d252
add esp, 4
cmp eax, ebx
je 0x4e0425
lea edx, [esi - 1]
mov ecx, eax
cmp edx, ebx
jl 0x4e0427
inc edx
mov dword [ecx], edi
add ecx, 0x10
dec edx
jne 0x4e041b
jmp 0x4e0427
xor eax, eax
mov ecx, dword [ebp + 4]
push 4
push ecx
mov dword [ebp + 8], eax
call fcn.004c6580
mov edx, dword [ebp + 4]
push 4
push edx
mov dword [ebp + 0xc], eax
call fcn.004c6580
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
add esp, 0x10
mov eax, dword [ecx]
call dword [eax + 8]
push 0x28
mov dword [esp + 0x28], 5
call fcn.0055d252
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x4e048b
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.004a16f0
mov ebx, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
call fcn.0055d252
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x5c], 1
je 0x4e04f2
push 0xa0
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x4e04d8
mov edx, dword [esp + 0x64]
push ebx
push edx
mov ecx, eax
call fcn.004dbf60
jmp 0x4e04da
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, esi
push eax
mov byte [esp + 0x68], 1
call fcn.004e92c0
mov edi, eax
jmp 0x4e04f4
xor edi, edi
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
jle 0x4e05a6
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, edi
call fcn.004e9340
push 0
push 0
push 0
push 0
lea edx, [esp + 0x54]
push 0
push edx
mov ecx, edi
call fcn.004e9340
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
jne 0x4e0627
cmp dword [esp + 0x44], eax
jne 0x4e0627
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
mov dword [eax + esi*4], edx
call fcn.004b24e0
lea ecx, [esp + 0x44]
call fcn.004b24e0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x68]
test eax, eax
jl 0x4e0609
mov eax, dword [ecx + esi*4]
test eax, eax
jl 0x4e0609
test esi, esi
jle 0x4e059a
cmp eax, dword [ecx + esi*4 - 4]
jl 0x4e0609
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x4e0509
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x4e05be
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x4e05b2
xor ebx, ebx
cmp edi, ebx
je 0x4e05d4
mov ecx, edi
call fcn.004e9310
push edi
call fcn.0055d27b
add esp, 4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
cmp esi, dword [edi]
jge 0x4e05f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
inc esi
cmp esi, eax
jl 0x4e05e0
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jle 0x4e07b9
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
jmp 0x4e065b
test edi, edi
je 0x4e0621
mov ecx, edi
call fcn.004e9310
push edi
call fcn.0055d27b
mov ecx, dword [esp + 0x6c]
add esp, 4
push ecx
jmp 0x4e07ba
lea ecx, [esp + 0x24]
call fcn.004b24e0
lea ecx, [esp + 0x44]
call fcn.004b24e0
test edi, edi
je 0x4e064d
mov ecx, edi
call fcn.004e9310
push edi
call fcn.0055d27b
add esp, 4
mov edx, dword [esp + 0x68]
push edx
jmp 0x4e07ba
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
mov ebx, 5
cmp ecx, eax
mov dword [esp + 0x24], ebx
push 0x28
jne 0x4e069e
call fcn.0055d252
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 3
je 0x4e06d3
mov edx, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov ecx, eax
call fcn.004a16f0
jmp 0x4e06d5
call fcn.0055d252
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 4
je 0x4e06d3
mov ecx, dword [edi + 4]
mov esi, dword [edi]
sub ecx, esi
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.004a16f0
jmp 0x4e06d5
xor eax, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
mov esi, eax
call fcn.0055d252
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x5c], ebx
je 0x4e073a
push 0xa0
call fcn.0055d252
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x5c], 6
je 0x4e0720
mov edx, dword [esp + 0x64]
push esi
push edx
mov ecx, eax
call fcn.004dbf60
jmp 0x4e0722
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, edi
push eax
mov byte [esp + 0x68], 5
call fcn.004e92c0
mov edi, eax
jmp 0x4e073c
xor edi, edi
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
add ecx, ebx
push 0
push ecx
mov ecx, edi
mov dword [esp + 0x74], 0xffffffff
call fcn.004e9340
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x4e0777
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x4e076b
test edi, edi
je 0x4e078b
mov ecx, edi
call fcn.004e9310
push edi
call fcn.0055d27b
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
inc ecx
add edi, 4
add esi, 0x10
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jl 0x4e0657
mov edi, dword [esp + 0x68]
push edi
call fcn.004c66b0
add esp, 4
lea ecx, [esp + 0x34]
call fcn.004b24e0
mov ecx, dword [esp + 0x54]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8