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

Disassembly:
sub esp, 0x5c
push ebp
mov ebp, dword [esp + 0x6c]
imul ebp, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
cmp dword [esi], 3
lea eax, [esi + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x74], eax
jne 0x45e79b
cmp dword [eax], 0
jne 0x45e79f
pop edi
pop esi
mov eax, 0x6b
pop ebp
add esp, 0x5c
ret
mov dword [esp + 0x74], eax
push ebx
mov ebx, dword [esp + 0x70]
mov edx, esi
mov ecx, ebx
call fcn.0045eb3e
test eax, eax
je 0x45e7ed
mov ecx, dword [esi]
call fcn.00462f1a
mov edx, dword [esp + 0x10]
mov ecx, eax
imul ecx, dword [esi + 4]
mov eax, ebp
and eax, 7
shr ebp, 3
imul eax, ecx
imul ebp, ecx
mov ecx, edi
add eax, 7
shr eax, 3
add eax, ebp
push eax
call fcn.00462eea
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
cmp dword [ebx], 3
jne 0x45e8d3
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 4]
mov ebx, 1
mov ecx, eax
mov dword [esp + 0x20], eax
shl ebx, cl
test edx, edx
jne 0x45e86a
mov eax, dword [esp + 0x78]
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x7c], eax
cmp ecx, 3
jne 0x45e86a
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x20]
jne 0x45e86a
call fcn.00462f1a
mov edx, dword [esp + 0x10]
mov ecx, eax
imul ecx, esi
mov eax, ebp
and eax, 7
shr ebp, 3
imul eax, ecx
imul ebp, ecx
mov ecx, edi
add eax, 7
shr eax, 3
add eax, ebp
push eax
call fcn.00462eea
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
cmp edx, ebx
jae 0x45e870
mov ebx, edx
lea edx, [esp + 0x28]
mov ecx, 0x40
call fcn.004961ff
xor edi, edi
mov dword [esp + 0x68], 0xffffffff
test ebx, ebx
je 0x45e8cb
mov esi, dword [esp + 0x7c]
add esi, 2
lea ebx, [ebx]
movzx eax, byte [esi + 1]
lea ecx, [esp + 0x28]
mov dl, byte [esi - 2]
push edi
push eax
movzx eax, byte [esi]
push eax
movzx eax, byte [esi - 1]
push eax
call fcn.0045e67e
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45ea31
inc edi
add esi, 4
cmp edi, ebx
jne 0x45e899
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
cmp dword [eax + 4], 0x10
jne 0x45ea7e
cmp dword [ebx + 4], 0x10
jne 0x45ea7e
xor ecx, ecx
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x45ea35
lea esi, [edi + 2]
mov ebx, esi
mov edi, esi
push eax
push ecx
push dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x8c], 0
push eax
lea edx, [esp + 0x90]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x30], 0
call fcn.0045e472
mov eax, dword [esp + 0x84]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x45e97c
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
shr eax, 8
mov byte [ecx + edx*2], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov byte [eax + edx*2 + 1], cl
jmp 0x45ea13
cmp eax, 2
jne 0x45e9af
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [edi - 2], al
mov byte [edi - 1], cl
mov ecx, dword [esp + 0x7c]
mov eax, ecx
shr eax, 8
mov byte [edi], al
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], cl
jmp 0x45ea13
cmp eax, 4
jne 0x45e9d3
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [ebx - 2], al
mov byte [ebx - 1], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov byte [ebx + 1], cl
jmp 0x45ea13
cmp eax, 6
jne 0x45ea13
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [esi - 2], al
mov byte [esi - 1], cl
mov ecx, dword [esp + 0x7c]
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [esp + 0x20]
add edi, 6
mov eax, dword [esp + 0x74]
inc ecx
add ebx, 4
mov dword [esp + 0x20], ecx
add esi, 8
cmp ecx, ebp
jne 0x45e900
mov ebx, dword [esp + 0x70]
cmp dword [ebx], 3
jne 0x45ea72
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x28]
test ecx, ecx
je 0x45ea6c
call fcn.0045e437
mov eax, dword [esp + esi*4 + 0x28]
test eax, eax
je 0x45ea6c
add eax, 0xfffffffc
push eax
push 0
push dword [0x4a01c8]
call edi
inc esi
cmp esi, 0x10
jne 0x45ea49
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
cmp dword [ebx + 4], 8
jne 0x45eab9
mov ecx, dword [ebx]
cmp ecx, 6
jne 0x45ea9e
push eax
push dword [esp + 0x14]
mov edx, ebp
mov ecx, edi
call fcn.0045e018
add esp, 8
jmp 0x45ea35
cmp ecx, 2
jne 0x45eab9
push eax
push dword [esp + 0x14]
mov edx, ebp
mov ecx, edi
call fcn.0045dd00
add esp, 8
jmp 0x45ea35
xor esi, esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x78], 0
test ebp, ebp
je 0x45ea35
mov edi, edi
push eax
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.0045d9ec
push dword [esp + 0x8c]
lea eax, [esp + 0x40]
mov edx, esi
push dword [esp + 0x94]
mov ecx, edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
push ebx
call fcn.0045d7a5
add esp, 0x2c
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45ea35
mov eax, dword [esp + 0x74]
inc esi
cmp esi, ebp
jne 0x45ead9
jmp 0x45ea35