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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov dword [edi + 0xf4], 0
mov al, byte [ebx + 8]
test al, 0x20
je 0x1007c9a9
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x1007c9a9
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x10]
dec edx
cmp eax, edx
jae 0x1007c9a9
mov eax, dword [esp + 0x48]
test eax, eax
jbe 0x1007c9a9
mov ecx, dword [ecx + 0x14]
dec ecx
cmp eax, ecx
jae 0x1007c9a9
mov ebp, dword [esp + 0x4c]
push ebp
call dword [0x1019ed30]
mov esi, eax
add esp, 4
test esi, esi
je 0x1007c9a1
push ebp
call fcn.1007d2b0
add esp, 4
mov dword [edi + 0xf4], esi
jmp 0x1007c9ad
mov ebp, dword [esp + 0x4c]
push ebp
call dword [0x1019ece0]
lea eax, [ebp + 0x80]
push eax
call dword [0x1019ece0]
lea eax, [ebp + 0x100]
push eax
call dword [0x1019ece0]
lea eax, [ebp + 0x180]
push eax
call dword [0x1019ece0]
lea eax, [ebp + 0x200]
push eax
call dword [0x1019ece0]
lea eax, [ebp + 0x280]
push eax
call dword [0x1019ece0]
mov esi, dword [edi + 0xf0]
mov cl, byte [ebx + 0xc]
add esp, 0x18
xor eax, eax
cmp esi, 1
sete al
inc eax
test cl, 0x20
mov dword [esp + 0x18], eax
je 0x1007ca1a
lea edx, [eax + eax*2]
mov dword [esp + 0x18], edx
mov eax, dword [0x1019ecf0]
mov edx, dword [esp + 0x38]
mov ecx, dword [0x1019ed04]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x6c]
and eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
sub ebp, esi
mov eax, dword [esp + eax*4 + 0x24]
mov byte [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
lea ebx, [edi + 0x17c]
mov dword [esp + 0x20], ebp
jmp 0x1007ca6a
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xf0]
add ebp, esi
mov edx, dword [ecx + 0x78]
push edx
push eax
push ebp
push esi
call dword [esp + 0x34]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007caf5
mov ecx, dword [esp + 0x40]
cmp dword [ecx + 0xf0], 2
jle 0x1007caf5
mov edx, dword [esp + 0x3c]
test byte [edx + 0xc], 8
je 0x1007caf5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007cabb
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.10088030
add esp, 4
jmp 0x1007cac0
mov eax, 0x100f3458
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebx - 0x20]
shr ecx, 0xe
and ecx, 1
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x48]
push ecx
push edi
push 0x3f
push eax
mov eax, dword [edx + 0xf0]
push 0x100f3158
push eax
push ebp
push esi
call fcn.1007d680
add esp, 0x28
mov edi, eax
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp edi, ecx
jge 0x1007cb10
cmp word [esi + 2], ax
jne 0x1007cb10
cmp word [esi + 0x10], ax
jne 0x1007cb10
cmp word [esi], ax
je 0x1007cb15
mov eax, 1
mov edi, dword [esp + 0x1c]
add ebx, 4
mov ecx, edi
add esi, 0x80
shl al, cl
mov cl, byte [esp + 0x14]
or cl, al
dec edi
cmp edi, 0xffffffff
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], edi
jg 0x1007ca62
mov ebp, dword [esp + 0x38]
mov eax, dword [0x1019ecfc]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x1019ecf8]
mov esi, dword [ebp + 0x6c]
mov edi, dword [esp + 0x4c]
mov ebx, dword [ecx + 0xf0]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x14]
and esi, 1
and al, 0x20
mov dword [esp + 0x2c], edx
mov byte [esp + 0x38], al
je 0x1007cb87
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x50]
push ecx
push ebx
push edx
push edi
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 0x10
mov byte [esp + 0x4c], al
je 0x1007cbb1
mov eax, dword [ebp + 0x78]
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x80
push ebx
lea eax, [edi + 0x80]
push ecx
push eax
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 8
mov byte [esp + 0x10], al
je 0x1007cbda
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x50]
push edx
add eax, 0x100
push ebx
push eax
lea eax, [edi + 0x100]
push eax
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 4
mov byte [esp + 0x11], al
je 0x1007cc04
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x50]
push ecx
add edx, 0x180
push ebx
lea eax, [edi + 0x180]
push edx
push eax
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 2
mov byte [esp + 0x12], al
je 0x1007cc2e
mov eax, dword [ebp + 0x78]
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x200
push ebx
lea eax, [edi + 0x200]
push ecx
push eax
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x1007cc57
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x50]
push edx
add eax, 0x280
push ebx
push eax
lea eax, [edi + 0x280]
push eax
call dword [esp + esi*4 + 0x3c]
add esp, 0x10
mov al, byte [esp + 0x38]
test al, al
je 0x1007cc69
push edi
call dword [0x1019ece4]
add esp, 4
mov al, byte [esp + 0x4c]
test al, al
je 0x1007cc81
lea eax, [edi + 0x80]
push eax
call dword [0x1019ece4]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x1007cc99
lea eax, [edi + 0x100]
push eax
call dword [0x1019ece4]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x1007ccb1
lea eax, [edi + 0x180]
push eax
call dword [0x1019ece4]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x1007ccc9
lea eax, [edi + 0x200]
push eax
call dword [0x1019ece4]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x1007cce1
lea eax, [edi + 0x280]
push eax
call dword [0x1019ece4]
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push 1
push edi
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push ebp
call fcn.1007c7f0
mov al, byte [esp + 0x34]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret