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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x100504f0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], edi
inc dword [esi + 0x154]
cmp dword [esi + 0x2c], 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ecx
je 0x1003b924
cmp dword [esi + 0x30], 8
je 0x1003b924
push 1
push 0xfffffae3
jmp 0x1003b93a
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x1003b933
cmp eax, 3
jne 0x1003b945
push 1
push 0xfffff8ef
mov ecx, ebp
call fcn.1001c1e0
mov ecx, dword [esp + 0x2c]
test byte [ebp], 8
jne 0x1003baf7
push ebp
push 1
call fcn.10030360
test byte [ebp], 8
jne 0x1003baf7
mov ecx, dword [esp + 0x2c]
push esi
add ecx, 0xc
mov byte [esp + 0x1b], 1
call fcn.1000de70
test eax, eax
jne 0x1003b982
push dword [esp + 0x2c]
mov ecx, esi
call fcn.1003b700
test byte [ebp], 8
jne 0x1003baf7
mov eax, dword [esp + 0x28]
mov ecx, esi
push 1
push ebp
push 0
push dword [esp + 0x54]
and byte [eax], 0xe1
push eax
push dword [esp + 0x58]
push edi
call fcn.1003b130
test byte [ebp], 8
mov dword [esp + 0x10], eax
jne 0x1003baf7
cmp dword [esp + 0x98], 1
jne 0x1003ba05
xor edi, edi
mov ebx, eax
mov eax, dword [ebx + 8]
cmp edi, dword [eax + 0x20]
jge 0x1003b9ff
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edi*8]
mov ecx, dword [esi + eax*4 + 0x178]
test byte [ecx + 0x30], 6
je 0x1003b9f8
push 1
push 0
push dword [ecx + 4]
mov ecx, ebp
push 0xffffdfd5
push 0xfffffbe8
call fcn.1001c170
inc edi
test byte [ebp], 8
je 0x1003b9c5
mov edi, dword [esp + 0x24]
xor ebx, ebx
test byte [ebp], 8
jne 0x1003baf7
mov edx, dword [esi + 0x40]
mov ecx, 1
mov dword [esp + 0x64], ecx
cmp edx, 0xffffffff
je 0x1003ba28
mov eax, dword [edi + 0xc]
cmp edx, dword [eax + 0x38]
jle 0x1003ba3c
lea eax, [esp + 0x64]
mov ecx, esi
push eax
push edi
push dword [esi + 0x28]
call fcn.1003fab0
mov ecx, dword [esp + 0x64]
test ecx, 0xfffffffe
je 0x1003ba4d
lea ecx, [esp + 0x64]
call fcn.1001c060
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov eax, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x5c]
movzx ebp, word [eax + 0x64]
call fcn.100184c0
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
mov word [esp + 0x58], bp
mov dword [esp + 0x5c], eax
lea edx, [ecx + 2]
mov dword [esp + 0x60], 0
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003ba90
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.10037650
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x1003bac3
mov edi, dword [esp + 0x20]
mov ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x1003baf9
mov ecx, dword [esp + 0x24]
push 0
push ebp
push 2
push ebx
call fcn.10027c30
test byte [ebp], 8
mov ecx, eax
mov dword [esp + 0x38], ecx
jne 0x1003baef
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov edi, dword [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x1003baf9
mov edi, dword [esp + 0x20]
xor ebx, ebx
jmp 0x1003baf9
mov edi, esi
test byte [ebp], 8
jne 0x1003be23
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
je 0x1003bd93
cmp word [eax], si
je 0x1003bd93
push 0xc
call fcn.10044652
mov edx, eax
add esp, 4
test edx, edx
je 0x1003bb56
mov eax, dword [edi + 0x24]
mov ecx, 0xa
push ebp
mov dword [esp + 0x40], 0xff
cmp dword [eax + 0x44], 1
cmove ecx, dword [esp + 0x40]
push ecx
mov ecx, edx
call fcn.10023900
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1003bb6c
jmp 0x1003bb5a
mov dword [esp + 0x1c], esi
push 1
push 0xfffffc0d
mov ecx, ebp
call fcn.1001c1e0
mov eax, dword [esp + 0x1c]
test byte [ebp], 8
jne 0x1003bbc3
push ebp
push 0
push eax
push dword [esp + 0x40]
mov ecx, ebx
call fcn.1003c0b0
test byte [ebp], 1
jne 0x1003bb9c
cmp dword [ebp + 4], 0xfffffa82
jne 0x1003bb9c
push 0xfffffa84
mov ecx, ebp
call fcn.1001c0c0
test byte [ebp], 8
jne 0x1003bbc3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 0x20]
je 0x1003bbc7
push 1
push 0xfffffc15
mov ecx, ebp
call fcn.1001c1e0
mov edx, dword [esp + 0x10]
test byte [ebp], 8
jne 0x1003bd09
cmp ebx, edi
jne 0x1003bbf7
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x1c]
add eax, 0x1c
push eax
call fcn.100243e0
test al, al
je 0x1003bbf7
push 1
push 0xfffffa81
mov ecx, ebp
call fcn.1001c1e0
test byte [ebp], 8
jne 0x1003bd09
lea eax, [ebx + 0x5f4]
test esi, esi
js 0x1003bc20
cmp esi, dword [ebx + 0x18]
jge 0x1003bc20
mov edi, dword [eax]
cmp edi, 0xffffffff
je 0x1003bc20
mov edi, dword [ebx + edi*4 + 0x574]
jmp 0x1003bc22
xor edi, edi
add eax, 4
mov dword [esp + 0x30], edi
inc esi
mov dword [esp + 0x28], eax
test edi, edi
je 0x1003bd09
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
add eax, 0x1c
push eax
call fcn.100243e0
test al, al
mov eax, dword [esp + 0x28]
je 0x1003bc07
mov eax, dword [edi + 8]
test byte [eax + 0x40], 1
jne 0x1003bc6b
push 1
push 0xfffffa0e
mov ecx, ebp
call fcn.1001c1e0
mov eax, dword [esp + 0x28]
jmp 0x1003bc07
test edi, edi
je 0x1003bd09
mov ecx, ebp
call fcn.1001c120
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 8]
cmp dword [eax + 0x20], edx
jle 0x1003bd09
lea esp, [esp]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
mov esi, dword [ebx + esi*4 + 0x178]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx*4 + 0x178]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov bl, al
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
call eax
cmp al, bl
jne 0x1003bcf5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 8]
cmp edx, dword [eax + 0x20]
jl 0x1003bc90
jmp 0x1003bd09
push 1
push 0xfffff218
mov ecx, ebp
call fcn.1001c1e0
xor edi, edi
mov dword [esp + 0x30], edi
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x1003bd21
mov ecx, ebx
call fcn.100239d0
push ebx
call fcn.1004476c
add esp, 4
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
test byte [ebp], 8
jne 0x1003be2a
test ebx, ebx
jne 0x1003bd45
push 1
push 0xfffffa0e
mov ecx, ebp
call fcn.1001c1e0
test byte [ebp], 8
jne 0x1003be2a
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x24]
push 1
push ebp
mov dl, byte [eax + 0x40]
mov al, byte [esp + 0x1e]
mov cl, dl
and cl, 0xe
and al, 0xe0
push 0
push dword [esp + 0x40]
add cl, cl
and dl, 1
or cl, al
lea eax, [esp + 0x26]
push eax
or cl, dl
push 0x10006274
mov byte [esp + 0x2e], cl
mov ecx, esi
push edi
call fcn.1003b130
mov ebx, eax
jmp 0x1003be2e
lea ecx, [ebx + 0x5f4]
jmp 0x1003bda4
mov ebx, dword [esp + 0x18]
test esi, esi
js 0x1003bdbd
cmp esi, dword [ebx + 0x18]
jge 0x1003bdbd
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x1003bdbd
mov ebx, dword [ebx + eax*4 + 0x574]
jmp 0x1003bdbf
xor ebx, ebx
inc esi
add ecx, 4
test ebx, ebx
je 0x1003bdd1
test byte [ebx + 0x28], 1
je 0x1003bda0
test ebx, ebx
jne 0x1003bde4
push 1
push 0xfffffa84
mov ecx, ebp
call fcn.1001c1e0
jmp 0x1003bd25
mov esi, dword [esp + 0x18]
cmp esi, edi
jne 0x1003bd29
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
add ecx, 0x1c
mov eax, dword [eax + 8]
add eax, 0x1c
push eax
call fcn.100243e0
test al, al
je 0x1003bd29
push 1
push 0xfffffa81
mov ecx, ebp
call fcn.1001c1e0
xor ebx, ebx
jmp 0x1003bd29
xor ebx, ebx
jmp 0x1003bd25
mov edi, dword [esp + 0x24]
test byte [ebp], 8
jne 0x1003bef8
mov edx, dword [ebx + 0x24]
mov ecx, 2
mov dword [esp + 0x64], 0x72002e
test edx, edx
je 0x1003be6a
lea esp, [esp]
cmp ecx, 0x14
jae 0x1003be6a
mov eax, edx
sar edx, 4
and eax, 0xf
add eax, 0x41
mov word [esp + ecx*2 + 0x64], ax
inc ecx
test edx, edx
jne 0x1003be50
add ecx, ecx
cmp ecx, 0x14
jae 0x1003bf97
xor eax, eax
push eax
mov word [esp + ecx + 0x68], ax
lea eax, [esp + 0x68]
push ebp
push eax
push 0x10006274
push edi
mov ecx, esi
call fcn.1003f350
test byte [ebp], 8
jne 0x1003bef8
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov byte [ebx + 0x29], 1
mov eax, dword [edi + 0x28]
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], ecx
mov byte [eax + 0x29], 2
mov eax, dword [esi + 0x28]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x2c], eax
mov eax, edi
mov edi, dword [esp + 0x98]
mov dword [eax + 0x34], edi
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
jmp 0x1003befc
mov eax, dword [esp + 0x10]
test byte [ebp], 8
mov edi, dword [esp + 0x20]
jne 0x1003bf18
push ebp
push eax
push ebx
mov ebx, dword [esp + 0x30]
mov ecx, edi
push esi
push ebx
call fcn.1003c1d0
jmp 0x1003bf1c
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x17], 0
je 0x1003bf74
test byte [ebp], 8
mov esi, dword [esp + 0x2c]
jne 0x1003bf3d
push 0
push ebp
mov ecx, esi
call fcn.10030400
test byte [ebp], 8
je 0x1003bf66
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 1
push eax
mov ecx, esi
call fcn.10030280
test dword [esp + 0x64], 0xfffffffe
je 0x1003bf74
lea ecx, [esp + 0x64]
call fcn.1001c060
jmp 0x1003bf74
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1003bf74
mov eax, dword [ecx]
push 1
call dword [eax]
push ebx
mov ecx, edi
call fcn.1003d440
dec dword [edi + 0x154]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10044550
add esp, 0x6c
ret 0x28
call fcn.10044a63
int3