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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
cmp dword [edi + 0x2c], 0
mov eax, dword [edi + 0x28]
lea ecx, [edx + 0x74]
mov dword [esp + 0x20], 0
lea ebx, [edx + 0x78]
mov byte [edi], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
jle 0x4e8707
mov eax, dword [eax]
mov dword [esp + 0x34], 0
test dword [eax + 4], 0x1000000
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x3c], ebx
je 0x4e8404
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x4e83ed
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test byte [eax + 4], 0x20
je 0x4e83ed
cmp dword [esp + 0x28], 0
je 0x4e83ed
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e8399
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx]
cmp dword [edx + 0x78], ecx
jg 0x4e83ba
mov ecx, dword [esp + 0x10]
mov edx, 0x4f
push 0
push eax
push dword [esp + 0x30]
call fcn.00491e40
add esp, 0xc
jmp 0x4e83ed
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push edi
push esi
mov dword [esp + 0x44], eax
call fcn.004b1d30
add esp, 0x10
test ebx, ebx
je 0x4e8476
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
cmp ebx, 1
jne 0x4e8433
mov al, byte [esi + 0x13]
test al, al
jne 0x4e8422
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
jmp 0x4e845b
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov edi, dword [esi + eax*4 + 0x98]
jmp 0x4e845b
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x18], edx
cmp ebx, ecx
jg 0x4e8450
lea eax, [edx + ebx]
sub ecx, ebx
mov dword [esi + 0x20], eax
mov edi, edx
mov dword [esi + 0x1c], ecx
jmp 0x4e845f
mov eax, dword [esi + 0x2c]
lea edi, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x3c]
mov ecx, esi
push 1
push 0
push edi
mov edx, ebx
call fcn.004b1490
add esp, 0xc
jmp 0x4e8484
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0xc], 0
jl 0x4e84be
test ebx, ebx
je 0x4e84be
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4e84a4
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0xc]
push edi
push ebx
push eax
push dword [ecx + 0xc]
mov ecx, esi
call fcn.004dec30
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x4e85bc
xor edi, edi
add ebx, 8
cmp edi, dword [esp + 0x30]
jge 0x4e84ef
mov edx, dword [ebx]
mov ecx, esi
call fcn.004a8a90
inc edi
mov dword [esp + 0x3c], eax
add ebx, 0x14
test eax, eax
je 0x4e84d0
mov edi, eax
jmp 0x4e84f4
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e850e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], eax
je 0x4e850e
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx]
cmp dword [ebx], edx
mov ebx, dword [esp + 0x10]
jg 0x4e8538
push 0
push 0
push eax
mov edx, 0x54
mov ecx, ebx
call fcn.00491e40
add esp, 0xc
mov edx, eax
jmp 0x4e856e
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x4e8586
push edi
mov edx, 0xfffffffe
call fcn.00492950
add esp, 4
jmp 0x4e85c0
test edx, edx
jns 0x4e858e
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4e85af
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, ebx
call fcn.00492ba0
add esp, 8
jmp 0x4e85c0
test edi, edi
je 0x4e85c0
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
jmp 0x4e85c0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x74]
mov edi, dword [esp + 0x18]
mov edx, dword [eax + 8]
cmp dword [ebx + 0x78], ecx
jg 0x4e85eb
push edx
push edi
push 0
mov edx, 0xa1
mov ecx, ebx
call fcn.00491e40
add esp, 0xc
add ebx, 0x70
jmp 0x4e8619
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
add ebx, 0x70
mov dword [eax + ecx*4], 0xa1
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [eax + 4]
cmp byte [ecx + 0x57], 0
je 0x4e863c
push edx
mov edx, 0xfffffff8
call fcn.00492950
add esp, 4
jmp 0x4e8650
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
jle 0x4e866b
mov eax, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x30]
cmp eax, 1
jne 0x4e868e
test edi, edi
je 0x4e8699
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4e8699
movzx eax, al
mov dword [esi + eax*4 + 0x98], edi
inc byte [esi + 0x13]
jmp 0x4e8699
cmp eax, dword [esi + 0x1c]
jle 0x4e8699
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
test edi, edi
je 0x4e86ca
mov ecx, dword [edx + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e86c1
push edi
call fcn.00492660
mov edx, dword [esp + 0x14]
add esp, 4
jmp 0x4e86ca
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x74]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
inc ecx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 0x2c]
lea ecx, [edx + 0x74]
jl 0x4e8346
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x24]
jne 0x4e8702
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x4e870e
lea eax, [edi + 0x24]
jmp 0x4e8742
mov dword [esp + 0x2c], ebx
lea ebx, [edx + 0x70]
mov eax, dword [ebp + 8]
mov edi, ecx
add eax, 0x24
mov dword [esp + 0x34], ebx
mov edx, eax
mov dword [esp + 0x24], edx
cmp dword [eax], 0
je 0x4e87bc
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebx
je 0x4e87bc
mov dword [esp + 0x24], eax
mov edi, ecx
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
cmp dword [eax], edx
mov edx, dword [esp + 0x24]
jg 0x4e8785
mov ecx, dword [esp + 0x10]
mov edx, 0x12
push 0
push 0
push dword [esp + 0x1c]
call fcn.00491e40
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4e87bc
mov eax, dword [esp + 0x20]
inc eax
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [eax + 0x1c]
cmp dword [edx], ebx
jle 0x4e87f7
lea edi, [eax + 4]
nop dword [eax + eax]
push dword [edi + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.004b13e0
mov eax, dword [esp + 0x28]
lea edi, [edi + 0x14]
inc ebx
add esp, 4
cmp ebx, dword [eax]
jl 0x4e87d0
mov eax, dword [esp + 0x10]
lea edi, [eax + 0x74]
lea edx, [eax + 0x70]
jmp 0x4e87ff
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
mov byte [ecx], 0
test ebx, ebx
je 0x4e8846
mov esi, dword [edi]
lea ecx, [esi - 1]
cmp ebx, ecx
jne 0x4e881f
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4e8836
mov eax, 0x5cdb30
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
test ebx, ebx
cmovns ecx, ebx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret