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

Disassembly:
sub esp, 0x48
mov eax, dword [0x493260]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, dword [esp + 0x58]
mov ebp, 0xff
push edi
mov edi, 0x55
mov dword [esp + 0x10], eax
mov byte [esp + 0x4c], 0x49
mov byte [esp + 0x4d], 0x44
mov byte [esp + 0x4e], 0x41
mov byte [esp + 0x4f], 0x54
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0x33
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x88
mov dword [esp + 0x20], 0x22
mov dword [esp + 0x24], 0xaa
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
test esi, esi
je 0xe226ac
test byte [esi + 0x70], 0x40
jne 0xe22310
push esi
call fcn.00e2cb55
add esp, 4
cmp byte [esi + 0x127], 0
je 0xe22415
test byte [esi + 0x74], 2
je 0xe22415
movzx eax, byte [esi + 0x128]
cmp eax, 6
ja 0xe22415
jmp dword [eax*4 + 0x4347bc]
test byte [esi + 0x6c], 4
jne 0xe22429
push 0x4799b4
push esi
call fcn.00e28f25
add esp, 8
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xe0]
mov ebp, dword [esp + 0x4c]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ecx
lea edi, [esi + 0x78]
cmp dword [esi + 0x7c], 0
jne 0xe224c2
cmp dword [esi + 0x110], 0
jne 0xe2248d
push 0
push esi
call fcn.00e2cf15
push esi
call fcn.00e2ce95
add esp, 0xc
mov dword [esi + 0x110], eax
cmp dword [esi + 0x120], ebp
je 0xe22484
push 0x47999c
push esi
call fcn.00e28f25
add esp, 8
cmp dword [esi + 0x110], 0
je 0xe22457
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x110]
mov edx, dword [esi + 0xb0]
mov dword [esi + 0x7c], eax
mov dword [edi], edx
cmp eax, ecx
jbe 0xe224ab
mov dword [esi + 0x7c], ecx
mov eax, dword [esi + 0x7c]
push eax
push edx
push esi
call fcn.00e2bd35
mov ecx, dword [esi + 0x7c]
add esp, 0xc
sub dword [esi + 0x110], ecx
push 1
push edi
call fcn.00e2a3d5
add esp, 8
cmp eax, 1
je 0xe224fe
test eax, eax
je 0xe224ef
mov eax, dword [esi + 0x90]
test eax, eax
jne 0xe224e5
mov eax, 0x479988
push eax
push esi
call fcn.00e28f25
add esp, 8
cmp dword [esi + 0x88], 0
jne 0xe22448
jmp 0xe2252c
cmp dword [esi + 0x88], 0
jne 0xe22516
cmp dword [esi + 0x7c], 0
jne 0xe22516
cmp dword [esi + 0x110], 0
je 0xe22524
push fcn.00479970
push esi
call fcn.00e28f25
add esp, 8
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
movzx edx, byte [esi + 0x12a]
movzx eax, byte [esi + 0x12e]
mov ecx, dword [esi + 0xe4]
mov byte [esi + 0x10c], dl
movzx edx, byte [esi + 0x12b]
mov byte [esi + 0x10e], al
mov al, byte [esi + 0x12d]
lea edi, [esi + 0x104]
mov byte [esi + 0x10f], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x10d], dl
movzx eax, al
jb 0xe2257c
shr eax, 3
imul eax, ecx
jmp 0xe22585
imul eax, ecx
add eax, 7
shr eax, 3
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0xf0]
mov cl, byte [eax]
test cl, cl
je 0xe225af
mov edx, dword [esi + 0xec]
movzx ecx, cl
push ecx
inc edx
push edx
inc eax
push eax
push edi
push esi
call fcn.00e2c985
add esp, 0x14
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xf0]
mov edx, dword [esi + 0xec]
inc eax
push eax
push ecx
push edx
call fcn.00e35795
add esp, 0xc
test byte [esi + 0x22c], 4
je 0xe225f0
cmp byte [esi + 0x234], 0x40
jne 0xe225f0
mov eax, dword [esi + 0xf0]
inc eax
push eax
push edi
call fcn.00e27ac5
add esp, 8
cmp dword [esi + 0x74], 0
jne 0xe225ff
test dword [esi + 0x70], 0x400000
je 0xe22608
push esi
call fcn.00e28975
add esp, 4
cmp byte [esi + 0x127], 0
je 0xe2265a
test byte [esi + 0x74], 2
je 0xe2265a
cmp byte [esi + 0x128], 6
jae 0xe22629
push esi
call fcn.00e2c525
add esp, 4
test ebx, ebx
je 0xe22643
movzx ecx, byte [esi + 0x128]
mov edx, dword [esp + ecx*4 + 0x30]
push edx
push ebx
push esi
call fcn.00e2c235
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0xe22684
movzx ecx, byte [esi + 0x128]
mov edx, dword [esp + ecx*4 + 0x14]
push edx
push eax
jmp 0xe2267b
mov eax, dword [esp + 0x10]
test eax, eax
je 0xe22671
push 0xff
push eax
push esi
call fcn.00e2c235
add esp, 0xc
test ebx, ebx
je 0xe22684
push 0xff
push ebx
push esi
call fcn.00e2c235
add esp, 0xc
push esi
call fcn.00e2f975
mov eax, dword [esi + 0x19c]
add esp, 4
test eax, eax
je 0xe226ac
movzx ecx, byte [esi + 0x128]
mov edx, dword [esi + 0xe8]
push ecx
push edx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00e32481
add esp, 0x48
ret