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

Disassembly:
sub esp, 0x54
push ebx
mov ah, ah
mov edi, edi
xor ebx, ebx
mov dword [esp + 4], ebx
mov ch, ch
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
call fcn.1003cc50
add esp, 0x28
test eax, eax
jne 0x1003f49d
xor eax, eax
pop ebx
add esp, 0x54
ret
mov dword [esp + 0x18], ebx
test edi, edi
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x34]
push edx
push eax
lea edx, [esp + 0x24]
call fcn.10038a20
add esp, 0xc
test eax, eax
je 0x1003f496
push ebp
test ecx, ecx
mov ebp, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov bl, bl
cmp ebp, ebx
mov dword [esp + 0x18], ebx
jle 0x1003f791
push esi
push edi
xor eax, eax
test ecx, ecx
mov dword [esp + 0x2c], eax
jle 0x1003f780
mov edi, dword [esp + 0x24]
mov ecx, eax
imul ecx, ebp
add ecx, ebx
cmp byte [ecx + edi], 1
jne 0x1003f763
mov cl, cl
push edx
pop edx
add ebx, 1
mov ah, ah
cmp ebx, ebp
jg 0x1003f763
jmp 0x1003f524
mov eax, dword [esp + 0x2c]
add eax, 0xffffffff
mov ecx, eax
mov dword [esp + 0x18], ecx
test eax, eax
cmp ecx, 0xffffffff
jl 0x1003f6e6
mov esi, ecx
imul esi, ebp
mov edx, ebp
neg edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
lea esp, [esp]
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x1c], eax
mov ah, ah
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
jg 0x1003f6ce
mov eax, dword [esp + 0x1c]
imul eax, ebp
mov dword [esp + 0x30], eax
jmp 0x1003f588
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
test al, al
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3c0]
add eax, ebx
cmp ebx, eax
mov edx, ebx
jge 0x1003f5fd
lea esp, [esp]
cmp edx, ebp
jge 0x1003f5fd
test eax, 0x4a7b
cmp ecx, dword [esp + 0x1c]
mov eax, ecx
jg 0x1003f5e6
mov edi, dword [esp + 0x24]
lea ecx, [esi + edx]
add ecx, edi
jmp 0x1003f5c4
mov edi, dword [esp + 0x24]
test eax, eax
jl 0x1003f5d7
cmp eax, dword [esp + 0x28]
jge 0x1003f5d7
cmp byte [ecx], 1
je 0x1003f6e6
add eax, 1
add ecx, ebp
cmp eax, dword [esp + 0x1c]
jle 0x1003f5c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3c0]
mov edi, dword [esp + 0x24]
add edx, 1
add eax, ebx
cmp edx, eax
jl 0x1003f5a0
mov eax, dword [esp + 0x68]
mov edx, ecx
sub ecx, dword [eax + 0x3bc]
cmp dword [esp + 0x18], ecx
jle 0x1003f655
mov ecx, esi
test edx, edx
jl 0x1003f655
mov al, al
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x1003f63c
nop
test eax, eax
jl 0x1003f635
cmp eax, ebp
jge 0x1003f635
lea esi, [ecx + eax]
cmp byte [esi + edi], 1
je 0x1003f6c2
add eax, 1
cmp eax, ebx
jle 0x1003f620
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
sub eax, dword [esi + 0x3bc]
add ecx, dword [esp + 0x38]
sub edx, 1
cmp edx, eax
jg 0x1003f611
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, esi
nop
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x3bc]
add eax, esi
cmp edx, eax
jge 0x1003f6f5
cmp edx, dword [esp + 0x28]
jge 0x1003f6f5
test al, al
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x1003f69c
test eax, eax
jl 0x1003f695
cmp eax, ebp
jge 0x1003f695
lea esi, [ecx + eax]
cmp byte [esi + edi], 1
je 0x1003f6a7
add eax, 1
cmp eax, ebx
jle 0x1003f684
mov esi, dword [esp + 0x1c]
add edx, 1
add ecx, ebp
jmp 0x1003f660
push eax
pop eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x30], ebp
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jle 0x1003f580
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
test eax, eax
sub ecx, 1
add esi, edx
cmp ecx, 0xffffffff
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], esi
jge 0x1003f550
mov ebx, ebx
add ebx, 1
cmp ebx, ebp
jle 0x1003f520
jmp 0x1003f763
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x1003f70b
mov dword [esp + 0x18], 0
mov dh, dh
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub esi, eax
mov ecx, ebx
sub ecx, dword [esp + 0x20]
push esi
push ecx
lea edi, [eax + 1]
mov eax, dword [esp + 0x70]
push edx
call fcn.1003a7e0
add esp, 0xc
push ebx
pop ebx
mov edx, dword [esp + 0x20]
cmp edx, ebx
jge 0x1003f763
test ah, ah
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jge 0x1003f75c
imul eax, ebp
add eax, edx
add eax, dword [esp + 0x24]
mov ecx, esi
lea ebx, [ebx]
mov byte [eax], 0
mov dl, dl
add eax, ebp
sub ecx, 1
jne 0x1003f750
add edx, 1
cmp edx, ebx
jl 0x1003f733
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x2c], eax
mov edi, edi
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov ebx, dword [esp + 0x20]
jl 0x1003f4f5
add ebx, 1
cmp ebx, ebp
mov dword [esp + 0x20], ebx
jl 0x1003f4e7
pop edi
pop esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.100f3efb
add esp, 4
push ebx
pop ebx
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret