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

Disassembly:
sub esp, 0x17c
mov ecx, 0x118
mov edx, 0x16b
mov eax, 0x144
push ebx
push ebp
push esi
mov esi, 0x152
push edi
mov edi, 0x140
mov ebx, 0x145
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb8], edx
mov edx, 0x14a
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x127
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x148
mov dword [esp + 0x50], 0x14b
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x13f
mov dword [esp + 0x84], 0x130
mov dword [esp + 0x88], 0x131
mov dword [esp + 0xac], 0x133
mov dword [esp + 0xb0], 0x13b
mov dword [esp + 0xb4], 0x11c
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], 0x135
mov dword [esp + 0xc4], 0x13e
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 0x11a
mov dword [esp + 0xd4], 0x11e
mov dword [esp + 0xd8], 0x122
mov dword [esp + 0xdc], 0x126
mov dword [esp + 0xe0], 0x12a
mov dword [esp + 0xe4], 0x12e
mov dword [esp + 0xe8], 0x132
mov dword [esp + 0xec], 0x136
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], 0x14f
mov dword [esp + 0x100], 0x154
mov dword [esp + 0x104], 0x159
mov dword [esp + 0x108], 0x15e
mov dword [esp + 0x10c], 0x163
mov dword [esp + 0x110], 0x168
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov eax, dword [0x8e89a0]
add eax, 0x38d0
xor ebx, ebx
mov dword [eax + 0x140], ebx
mov dword [eax + 0x144], ebx
mov dword [esp + 0x2c], eax
mov eax, dword [0x705898]
cmp dword [eax + 0x3a0], 1
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], ecx
jne 0x4e1948
push 0x8f4
call fcn.004fbb60
mov ecx, dword [0x8e89a0]
mov dword [ecx + 0x3cb8], eax
jmp 0x4e195b
push 0x5a
call fcn.004fbb60
mov edx, dword [0x8e89a0]
mov dword [edx + 0x3cb8], eax
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, dword [esp + ebx*4 + 0x40]
shl edi, 5
cmp ebx, 5
jne 0x4e1b4f
mov eax, dword [0x8e89a0]
mov ecx, dword [eax + 0x3cb8]
push ebx
push ecx
call fcn.004eab20
mov edx, dword [0x8e89a0]
mov ebx, eax
mov eax, dword [edx + 0x3cb8]
push 5
push eax
call fcn.004eab10
mov esi, eax
push 0xc
shl esi, 4
call fcn.006326ac
push 0
push eax
push esi
push ebx
mov dword [esp + 0x38], eax
call fcn.00542d50
mov ecx, dword [0x8e89a0]
push 0
push 0
push edi
mov eax, 0x4620
add eax, ecx
push ebx
push eax
call fcn.00542dc0
mov eax, dword [0x8e89a0]
mov edx, eax
mov ecx, dword [edx + 0x47d0]
mov dword [eax + 0x3a48], ecx
mov edx, dword [edx + 0x47d4]
mov eax, dword [0x8e89a0]
push 0
push 0
mov dword [eax + 0x3a4c], edx
call fcn.004b7d00
mov ecx, dword [esp + 0x54]
cdq
mov dword [esp + 0x78], eax
mov eax, edi
mov dword [esp + 0x7c], edx
cdq
add esp, 0x40
add ecx, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ebx, 1
mov esi, 0x9240
mov ebp, 0x3c90
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 2
mov edx, dword [0x8e89a0]
lea eax, [ebx + 0x4d]
push eax
mov eax, dword [edx + 0x3cb8]
push eax
call fcn.004eab20
mov ecx, dword [0x8e89a0]
mov edx, dword [ecx + 0x3cb8]
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x4d]
push eax
push edx
call fcn.004eab10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
push 0
push ecx
shl eax, 4
push eax
push edx
call fcn.00542d50
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x8e89a0]
push 0
push ebx
push edi
push eax
lea edx, [esi + ecx + 0x3cc0]
push edx
call fcn.00542dc0
mov ecx, dword [0x8e89a0]
mov eax, ebx
cdq
shld edx, eax, 0x17
or edx, dword [esp + 0x70]
shl eax, 0x17
or eax, dword [esp + 0x6c]
add dword [esp + 0x44], 4
or eax, 0x100000
shld edx, eax, 0xe
or edx, dword [esp + 0x5c]
shl eax, 0xe
or eax, dword [esp + 0x58]
add esp, 0x34
mov dword [esi + ecx + 0x3e70], eax
mov eax, dword [0x8e89a0]
mov dword [esi + eax + 0x3e74], edx
mov eax, dword [0x8e89a0]
mov ecx, dword [esi + eax + 0x3e70]
mov dword [eax + ebp], ecx
mov eax, dword [0x8e89a0]
mov edx, dword [esi + eax + 0x3e74]
mov dword [eax + ebp + 4], edx
add ebp, 8
add esi, 0x1e0
add ebx, 1
sub dword [esp + 0x18], 1
jne 0x4e1a33
mov eax, dword [esp + 0x14]
push edi
push 3
mov esi, 0x4620
mov ecx, dword [0x8e89a0]
push eax
lea edx, [esi + ecx]
push edx
call fcn.0054df70
mov ecx, eax
call fcn.0054dc60
mov eax, dword [0x8e89a0]
add esi, eax
push 1
push esi
call fcn.00528310
mov ebx, dword [esp + 0x28]
add esp, 8
jmp 0x4e1d5e
cmp ebx, 8
jne 0x4e1d0e
mov ecx, dword [0x8e89a0]
mov edx, dword [ecx + 0x3cb8]
push ebx
push edx
call fcn.004eab20
mov ebx, eax
mov eax, dword [0x8e89a0]
mov ecx, dword [eax + 0x3cb8]
push 8
push ecx
call fcn.004eab10
mov esi, eax
push 0x38
shl esi, 4
call fcn.006326ac
push 0
push eax
push esi
push ebx
mov dword [esp + 0x40], eax
call fcn.00542d50
mov edx, dword [0x8e89a0]
push 0
push 0
push edi
mov eax, 0x4bc0
add eax, edx
push ebx
push eax
call fcn.00542dc0
mov eax, dword [0x8e89a0]
mov ecx, eax
mov edx, dword [ecx + 0x4d70]
mov dword [eax + 0x3a60], edx
mov eax, dword [ecx + 0x4d74]
mov ecx, dword [0x8e89a0]
push 0
push 0
mov dword [ecx + 0x3a64], eax
call fcn.004b7d00
cdq
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, edi
cdq
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x5c]
add esp, 0x40
add edx, 4
mov dword [esp + 0x24], eax
mov ebx, 1
mov esi, 0x79e0
mov ebp, 0x3c28
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0xd
lea ebx, [ebx]
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x8e89a0]
mov ecx, dword [eax + 0x3cb8]
push ecx
call fcn.004eab20
mov edx, dword [0x8e89a0]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [edx + 0x3cb8]
push eax
call fcn.004eab10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0
push ecx
shl eax, 4
push eax
push edx
call fcn.00542d50
mov eax, dword [esp + 0x34]
mov ecx, dword [0x8e89a0]
push 0
push ebx
push edi
push eax
lea edx, [esi + ecx + 0x3cc0]
push edx
call fcn.00542dc0
mov ecx, dword [0x8e89a0]
mov eax, ebx
cdq
shld edx, eax, 0x17
or edx, dword [esp + 0x68]
shl eax, 0x17
or eax, dword [esp + 0x64]
add dword [esp + 0x44], 4
or eax, 0x100000
shld edx, eax, 0xe
or edx, dword [esp + 0x5c]
shl eax, 0xe
or eax, dword [esp + 0x58]
add esp, 0x34
mov dword [esi + ecx + 0x3e70], eax
mov eax, dword [0x8e89a0]
mov dword [esi + eax + 0x3e74], edx
mov eax, dword [0x8e89a0]
mov ecx, dword [esi + eax + 0x3e70]
mov dword [eax + ebp], ecx
mov eax, dword [0x8e89a0]
mov edx, dword [esi + eax + 0x3e74]
mov dword [eax + ebp + 4], edx
add ebp, 8
add esi, 0x1e0
add ebx, 1
sub dword [esp + 0x18], 1
jne 0x4e1c20
mov eax, dword [esp + 0x1c]
push edi
push 0xe
mov esi, 0x4bc0
jmp 0x4e1b1d
mov eax, dword [0x8e89a0]
mov edx, dword [eax + 0x3cb8]
mov esi, ebx
shl esi, 4
sub esi, ebx
push edi
shl esi, 5
lea ecx, [esi + eax + 0x3cc0]
push ecx
push 1
push ebx
push edx
call fcn.00542ea0
mov eax, dword [0x8e89a0]
mov ecx, dword [esi + eax + 0x3e70]
mov dword [eax + ebx*8 + 0x3a20], ecx
mov eax, dword [0x8e89a0]
mov edx, dword [esi + eax + 0x3e74]
add esp, 0x14
mov dword [eax + ebx*8 + 0x3a24], edx
add ebx, 1
cmp ebx, 0x41
mov dword [esp + 0x20], ebx
jl 0x4e1962
push 1
push 0
call fcn.00544800
mov ecx, eax
call fcn.00544950
mov eax, dword [0x8e89a0]
mov dword [eax + 0x3ca0], 0xa
mov ecx, dword [0x8e89a0]
mov dword [ecx + 0x3ca4], 0
call fcn.00544800
lea ecx, [eax + 0x10]
call fcn.00544ad0
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x148], eax
call fcn.00544800
lea ecx, [eax + 0x10]
call fcn.00544ae0
mov dword [esi + 0x14c], eax
mov edx, dword [0x705898]
cmp dword [edx + 0x3a0], 1
jne 0x4e1ddd
push 0x901
jmp 0x4e1ddf
push 0x6a
call fcn.004fbb60
mov edi, eax
add esp, 4
push edi
call fcn.0042c270
add esp, 4
mov ebp, eax
push ebp
push 0
call fcn.005432e0
mov ecx, eax
call fcn.00543190
xor esi, esi
test ebp, ebp
jle 0x4e1e3b
lea esp, [esp]
push esi
push edi
call fcn.004eab20
push esi
push edi
mov ebx, eax
call fcn.004eab10
add esp, 0x10
push ebx
push eax
push esi
push 0
call fcn.005432e0
mov ecx, eax
call fcn.00543120
add esi, 1
cmp esi, ebp
jl 0x4e1e10
push edi
call fcn.004d25b0
mov esi, dword [0x8e89a0]
push 1
add esi, 0x89910
push 0
mov dword [esi + 0x140], 0
call fcn.00543310
mov ecx, dword [0x8e89a0]
mov dword [ecx + 0x3ca8], eax
mov eax, dword [0x8e89a0]
mov dword [eax + 0x3cac], edx
mov dword [esi + 0x148], 0x200
mov dword [esi + 0x14c], 0x100
mov ecx, dword [0x705898]
add esp, 0xc
cmp dword [ecx + 0x3a0], 1
jne 0x4e1ea4
push 0x900
jmp 0x4e1ea6
push 0x69
call fcn.004fbb60
mov edi, eax
add esp, 4
push edi
call fcn.0042c270
add esp, 4
mov ebx, eax
push ebx
push 1
call fcn.005432e0
mov ecx, eax
call fcn.00543190
xor esi, esi
test ebx, ebx
jle 0x4e1efb
push esi
push edi
call fcn.004eab20
push esi
push edi
mov ebp, eax
call fcn.004eab10
add esp, 0x10
push ebp
push eax
push esi
push 1
call fcn.005432e0
mov ecx, eax
call fcn.00543120
add esi, 1
cmp esi, ebx
jl 0x4e1ed0
push edi
call fcn.004d25b0
mov esi, dword [0x8e89a0]
push 1
add esi, 0x954e0
push 1
mov dword [esi + 0x140], 0
call fcn.00543310
mov ecx, dword [0x8e89a0]
mov dword [ecx + 0x3cb0], eax
mov eax, dword [0x8e89a0]
add esp, 0xc
pop edi
mov dword [eax + 0x3cb4], edx
mov dword [esi + 0x148], 0x100
mov dword [esi + 0x14c], 0x80
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret