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

Disassembly:
push edi
push esi
push ebp
sub esp, 0xf4
mov edi, dword [esp + 0x104]
mov esi, dword [esp + 0x108]
lea eax, [esp + 4]
xor ebp, ebp
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.0084a90c
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.0084a90c
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
call fcn.0084aa18
test eax, eax
je 0x844825
mov eax, 0x98b400
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esp], ebx
xor eax, eax
mov ebx, eax
mov ecx, edi
mov edx, dword [esp + ebx + 0x34]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + ecx]
mov dword [esp + 0x94], edx
mov edx, dword [eax + ecx + 4]
mov dword [esp + 0x98], edx
mov edx, dword [eax + ecx + 8]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + ebx + 0x38]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + ecx]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + ecx + 4]
xor edi, edi
mov dword [esp + 0xa4], edx
mov edx, dword [eax + ecx + 8]
mov eax, dword [esp + ebx + 0x3c]
mov dword [esp + 0xa8], edx
add eax, eax
add eax, eax
lea edx, [eax + eax]
add edx, eax
mov eax, dword [edx + ecx]
mov dword [esp + 0xac], eax
mov eax, dword [edx + ecx + 4]
mov dword [esp + 0xb0], eax
mov edx, dword [edx + ecx + 8]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + ebx + 0x40]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + ecx]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + ecx + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + ecx + 8]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + edi + 0x34]
lea ecx, [esp + 0x94]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0xc4], edx
mov edx, dword [eax + esi + 4]
mov dword [esp + 0xc8], edx
mov edx, dword [eax + esi + 8]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + edi + 0x38]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0xd0], edx
mov edx, dword [eax + esi + 4]
mov dword [esp + 0xd4], edx
mov edx, dword [eax + esi + 8]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + edi + 0x3c]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + esi + 4]
mov dword [esp + 0xe0], edx
mov edx, dword [eax + esi + 8]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + edi + 0x40]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0xe8], edx
mov edx, dword [eax + esi + 4]
mov dword [esp + 0xec], edx
mov edx, dword [eax + esi + 8]
mov dword [esp + 0xf0], edx
lea edx, [esp + 0xc4]
call fcn.0084aff4
test eax, eax
jne 0x844831
lea ecx, [esp + 0x94]
lea edx, [esp + 0xc4]
call fcn.0084c1f4
or ebp, eax
cmp ebp, 7
je 0x844843
add edi, 0x10
cmp edi, 0x60
jl 0x844712
mov ecx, dword [esp + 0x104]
add ebx, 0x10
cmp ebx, 0x60
jl 0x84465c
mov ebx, dword [esp]
xor eax, eax
add esp, 0xf4
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0xf4
pop ebp
pop esi
pop edi
ret
mov ebx, dword [esp]
mov eax, 1
add esp, 0xf4
pop ebp
pop esi
pop edi
ret
mov ebx, dword [esp]
mov eax, 1
add esp, 0xf4
pop ebp
pop esi
pop edi
ret