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

Disassembly:
sub esp, 0x80
mov eax, dword [0x493260]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, 2
push ebp
xor ebp, ebp
mov edx, 1
push esi
mov esi, dword [esp + 0x8c]
add dword [esi + 0xe8], edx
mov ecx, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xe8]
push edi
mov edi, 8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
cmp eax, dword [esi + 0xd4]
jb 0xe2fc87
cmp byte [esi + 0x127], 0
push ebx
je 0xe2fafd
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xec]
add eax, edx
push eax
push ebp
push ecx
mov dword [esi + 0xe8], ebp
call fcn.00e354f5
add esp, 0xc
jmp 0xe2fa65
inc byte [esi + 0x128]
mov bl, byte [esi + 0x128]
cmp bl, 7
jae 0xe2faf5
mov edx, dword [esi + 0xcc]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub edx, dword [esp + ecx + 0x30]
mov edi, dword [esp + ecx + 0x14]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
mov edi, eax
mov al, byte [esi + 0x12d]
cmp al, 8
mov dword [esi + 0xe4], edi
movzx eax, al
jb 0xe2fab0
shr eax, 3
imul eax, edi
jmp 0xe2fab9
imul eax, edi
add eax, 7
shr eax, 3
inc eax
test byte [esi + 0x74], 2
mov dword [esi + 0xe0], eax
jne 0xe2faec
mov eax, dword [esi + 0xd0]
sub eax, dword [esp + ecx + 0x68]
mov ebp, dword [esp + ecx + 0x4c]
lea eax, [eax + ebp - 1]
xor edx, edx
div ebp
xor ebp, ebp
mov dword [esi + 0xd4], eax
test edi, edi
je 0xe2fa65
cmp bl, 7
jb 0xe2fc86
mov edx, 1
lea edi, [edx + 7]
test byte [esi + 0x70], 0x20
jne 0xe2fc5c
lea ecx, [esp + 0x13]
mov byte [esp + 0x84], 0x49
mov byte [esp + 0x85], 0x44
mov byte [esp + 0x86], 0x41
mov byte [esp + 0x87], 0x54
mov ebx, dword [esp + 0x84]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], edx
lea edi, [esi + 0x78]
lea esp, [esp]
cmp dword [esi + 0x7c], ebp
jne 0xe2fbeb
cmp dword [esi + 0x110], ebp
jne 0xe2fbb3
lea edi, [esi + 0x120]
push ebp
push esi
call fcn.00e2cf15
push 4
lea edx, [esp + 0x90]
push edx
push esi
call fcn.00e29d95
lea eax, [esp + 0x98]
push eax
push esi
call fcn.00e2bce5
push esi
mov dword [esi + 0x110], eax
call fcn.00e291f5
push 4
push edi
push esi
call fcn.00e2bd35
add esp, 0x2c
cmp dword [edi], ebx
je 0xe2fbab
push 0x47999c
push esi
call fcn.00e28f25
add esp, 8
cmp dword [esi + 0x110], ebp
je 0xe2fb5c
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x110]
mov edx, dword [esi + 0xb0]
lea edi, [esi + 0x78]
mov dword [esi + 0x7c], eax
mov dword [edi], edx
cmp eax, ecx
jbe 0xe2fbd4
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x7c]
push ecx
push edx
push esi
call fcn.00e2bd35
mov edx, dword [esi + 0x7c]
add esp, 0xc
sub dword [esi + 0x110], edx
push 1
push edi
call fcn.00e2a3d5
add esp, 8
cmp eax, 1
je 0xe2fc26
cmp eax, ebp
je 0xe2fc18
mov eax, dword [esi + 0x90]
cmp eax, ebp
jne 0xe2fc0e
mov eax, 0x47bea4
push eax
push esi
call fcn.00e28f25
add esp, 8
cmp dword [esi + 0x88], ebp
jne 0xe2fb45
jmp 0xe2fc3b
cmp dword [esi + 0x88], ebp
je 0xe2fc3b
cmp dword [esi + 0x7c], ebp
jne 0xe2fc3b
cmp dword [esi + 0x110], ebp
je 0xe2fc49
push fcn.00479970
push esi
call fcn.00e28f55
add esp, 8
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebp
mov edi, 8
cmp dword [esi + 0x110], ebp
jne 0xe2fc69
cmp dword [esi + 0x7c], ebp
je 0xe2fc77
push 0x47be8c
push esi
call fcn.00e28f55
add esp, 8
lea eax, [esi + 0x78]
push eax
call fcn.00e2a125
add esp, 4
or dword [esi + 0x6c], edi
pop ebx
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00e32481
add esp, 0x80
ret