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

Disassembly:
sub esp, 0x60
mov eax, dword [0x55c640]
xor eax, esp
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x48]
push edi
push ecx
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], ebp
call fcn.004e39b0
mov edx, dword [esp + 0x5c]
add esp, 8
test edx, edx
je case.default.0x4e3e61
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
cmp ecx, 7
jne 0x4e3dee
mov ecx, dword [esp + 0x1c]
inc eax
mov edi, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [ecx], eax
lea eax, [ebx - 1]
mov dword [ecx + 8], eax
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.004e39b0
mov eax, dword [esp + 0x24]
add esp, 8
cmp dword [esp + 0x64], 3
mov dword [eax], edi
mov dword [eax + 8], esi
jne 0x4e3e29
mov eax, dword [esp + 0x4c]
mov ecx, 8
lea esi, [ecx - 7]
jmp 0x4e3df9
cmp edx, 3
jne 0x4e3e2d
mov esi, ebp
mov dword [esp + 0x24], esi
test ebp, ebp
je case.default.0x4e3e61
inc eax
dec ebx
mov dword [esp + 0x14], eax
mov edx, 1
mov dword [esp + 0x30], ebx
test esi, esi
jne 0x4e3e2f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00484516
add esp, 0x60
ret
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x34]
lea edi, [ecx - 1]
mov dword [esp + 0x28], edi
lea eax, [eax + edx*4]
mov dword [esp + 0x3c], eax
mov esi, dword [eax]
mov eax, dword [esp + 0x38]
push ebx
add esi, dword [eax + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.004e5ea0
add esp, 8
cmp edi, 7
ja case.default.0x4e3e61
jmp dword [edi*4 + 0x4e4144]
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004e5970
jmp 0x4e3ea4
push 0
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004e4d10
add esp, 0xc
jmp 0x4e3ea7
push 3
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004e4d10
add esp, 0xc
jmp 0x4e3ea7
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004e4f60
add esp, 8
mov ecx, dword [esp + 0x38]
movzx ecx, byte [ecx + 0x14]
dec ecx
je 0x4e3ec4
dec ecx
je 0x4e3ebc
mov dword [esi], eax
jmp 0x4e40e6
mov word [esi], ax
jmp 0x4e40e6
mov byte [esi], al
jmp 0x4e40e6
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov eax, ebx
sub eax, edi
mov dword [esp + 0x18], edx
cmp edi, ebx
jae 0x4e40e2
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jne 0x4e3ef3
dec eax
inc edi
jmp 0x4e3eff
cmp ecx, 2
jne case.default.0x4e3e61
inc edi
sub eax, ecx
mov ecx, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x4e3f25
push ecx
push edx
call fcn.004ff740
mov eax, dword [esp + 0x18]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [esi], 0
lea ecx, [esp + 0x20]
inc eax
push ecx
push eax
push edx
call fcn.004ff680
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x4e4117
push dword [esp + 0x10]
push edi
push eax
call fcn.00489260
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov byte [ecx + eax], 0
mov dword [esi], ecx
jmp 0x4e40e2
push 0
lea eax, [esp + 0x60]
push eax
push 4
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.004e5ad0
add esp, 0x14
cmp eax, 4
jl case.default.0x4e3e61
push dword [esp + 0x5c]
call fcn.004fd2b0
push dword [esp + 0x64]
mov dword [esi], eax
call fcn.004fd2b0
push dword [esp + 0x6c]
mov dword [esi + 4], eax
call fcn.004fd2b0
push dword [esp + 0x74]
mov dword [esi + 8], eax
call fcn.004fd2b0
add esp, 0x10
mov dword [esi + 0xc], eax
jmp 0x4e40e6
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push 0
mov ecx, dword [eax + 0x10]
lea eax, [ebp*4]
push eax
push 0
push 4
push ecx
mov dword [esp + 0x5c], ecx
call fcn.004ff8c0
mov ecx, eax
add esp, 0x18
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x4e4131
xor edi, edi
mov esi, ecx
lea ebx, [ebx]
push 0
push esi
push ebp
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.004e5ad0
add esp, 0x14
test eax, eax
js case.default.0x4e3e61
cmp eax, ebp
jb case.default.0x4e3e61
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004e5ea0
lea ecx, [ebp*4]
inc edi
add esp, 8
add esi, ecx
cmp edi, 4
jb 0x4e4000
test ebp, ebp
je 0x4e40d2
mov edx, dword [esp + 0x18]
lea eax, [ebp*2]
add eax, ebp
mov dword [esp + 0x2c], ebp
mov edi, edx
lea ebx, [edx + ebp*8]
lea eax, [edx + eax*4]
mov dword [esp + 0x40], eax
lea eax, [ecx + edx]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x48], eax
lea esp, [esp]
push dword [edi]
mov esi, dword [eax + edi]
call fcn.004fd2b0
mov dword [esi], eax
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.004fd2b0
mov dword [esi + 4], eax
push dword [ebx]
call fcn.004fd2b0
mov dword [esi + 8], eax
push dword [ebp]
call fcn.004fd2b0
add dword [esp + 0x20], 4
lea edi, [edi + 4]
add esp, 0x10
mov dword [esi + 0xc], eax
dec dword [esp + 0x2c]
lea ebx, [ebx + 4]
mov eax, dword [esp + 0x48]
lea ebp, [ebp + 4]
jne 0x4e4080
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
push dword [esp + 0x18]
push dword [esp + 0x48]
call fcn.004ff740
add esp, 8
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
dec ecx
add eax, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x4e3e41
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00484516
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00484516
add esp, 0x60
ret
mov eax, 3
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00484516
add esp, 0x60
ret