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

Disassembly:
sub esp, 0xc8
push ebx
mov ebx, dword [esp + 0xd8]
lea eax, [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0xd4]
push esi
push edi
push ebx
push dword [esp + 0xe4]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x64]
push ebp
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x48], ecx
push eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x3c], ebp
push eax
lea ecx, [esp + 0x58]
call fcn.0045ee5c
add esp, 0x18
cmp ebx, 8
jb 0x45ed0a
shr ebx, 3
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor ebp, ebp
cmp dword [esp + ecx + 0x5c], ebp
jbe 0x45ecef
lea eax, [esp + 0x78]
xor edx, edx
add eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + ecx + 0x40]
mov esi, eax
imul esi, ebx
mov dword [esp + 0x30], esi
lea ecx, [ecx]
xor edi, edi
test eax, eax
je 0x45ecde
mov esi, dword [0x49f0e0]
mov edx, dword [0x49f0dc]
add esi, ecx
mov eax, dword [0x49f0e4]
add edx, ecx
mov dword [esp + 0x18], esi
add eax, ecx
mov esi, dword [esp + 0x24]
add ecx, dword [0x49f0e8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
mov esi, dword [esi]
add esi, dword [esp + 0x10]
add esi, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
jmp 0x45ec90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx]
imul edx, ebp
add edx, dword [eax]
mov eax, dword [esp + 0x18]
imul edx, dword [esp + 0x28]
mov eax, dword [eax]
imul eax, edi
add edx, eax
add edx, dword [ecx]
xor ecx, ecx
imul edx, ebx
test ebx, ebx
je 0x45ecc3
add edx, dword [esp + 0x38]
mov edi, edi
mov al, byte [esi + ecx]
mov byte [edx + ecx], al
inc ecx
cmp ecx, ebx
jb 0x45ecb8
mov ecx, dword [esp + 0x14]
inc edi
mov edx, dword [esp + 0x2c]
add esi, ebx
mov eax, dword [esp + ecx + 0x40]
cmp edi, eax
jb 0x45ec88
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
inc ebp
add edx, esi
mov dword [esp + 0x10], edx
cmp ebp, dword [esp + ecx + 0x5c]
jb 0x45ec38
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x1c
jne 0x45ec0c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret
mov esi, dword [0x49f0dc]
imul ebp, ebx
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + edx + 0x40]
xor ebp, ebp
mov ecx, eax
mov dword [esp + 0x1c], eax
imul ecx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + edx + 0x5c]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x45ee41
mov dword [esp + 0x10], ebp
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x45ee2a
mov edi, dword [esp + 0x10]
mov eax, dword [esp + edx + 0x78]
lea eax, [edi + eax*8]
mov edi, dword [0x49f0e4]
mov dword [esp + 0x18], eax
mov esi, dword [edx + esi]
mov ebx, dword [0x49f0e8]
mov dword [esp + 0x30], eax
mov eax, dword [0x49f0e0]
imul esi, ebp
mov eax, dword [edx + eax]
imul eax, ecx
add esi, dword [edx + edi]
imul esi, dword [esp + 0x28]
add eax, dword [edx + ebx]
mov ebx, dword [esp + 0xe4]
imul eax, ebx
add esi, eax
test ebx, ebx
je 0x45ee07
mov edi, ebx
mov ebx, dword [esp + 0x30]
nop
mov edx, dword [esp + 0x34]
mov al, bl
and al, 7
mov cl, 7
sub cl, al
mov ebp, esi
mov eax, ebx
shr ebp, 3
add ebp, dword [esp + 0x38]
inc ebx
shr eax, 3
mov dl, byte [eax + edx]
mov eax, esi
shr dl, cl
and eax, 7
mov ecx, 7
sub ecx, eax
movzx eax, byte [ebp]
test dl, 1
jne 0x45ede2
btr eax, ecx
jmp 0x45ede5
bts eax, ecx
inc esi
mov byte [ebp], al
sub edi, 1
jne 0x45eda8
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edi, dword [0x49f0e4]
mov eax, dword [esp + 0x18]
inc ecx
mov esi, dword [0x49f0dc]
add eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0x1c]
jb 0x45ed6b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc ebp
add dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x3c]
jb 0x45ed48
add edx, 4
mov dword [esp + 0x24], edx
cmp edx, 0x1c
jne 0x45ed1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret