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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
mov ebp, edx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
push esi
push edi
test ebp, ebp
je 0x1003da9f
cmp byte [ebp], al
je 0x1003da9f
xor esi, esi
jmp 0x1003daa8
mov esi, 1
test ebp, ebp
je 0x1003dadd
mov ecx, str.:memory:
mov eax, ebp
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003dad0
test dl, dl
je 0x1003dacc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003dad0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003dab0
xor eax, eax
jmp 0x1003dad5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003daf9
test esi, esi
je 0x1003dae3
cmp byte [ebx + 0x56], 2
je 0x1003daf9
mov eax, dword [esp + 0xbc]
test al, al
js 0x1003db00
mov ecx, dword [esp + 0xb8]
xor edi, edi
jmp 0x1003db0f
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov edi, 1
or ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edi
test eax, 0x100
je 0x1003db37
test edi, edi
jne 0x1003db26
test esi, esi
je 0x1003db37
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xbc], eax
push 0
push 0x30
call fcn.10025910
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003dbeb
push 0x30
push 0
push ebx
call fcn.10117800
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 0x20], ebx
mov dword [ebx + 0x24], 1
test esi, esi
jne 0x1003dd87
mov eax, dword [esp + 0xbc]
test edi, edi
je 0x1003db85
test al, 0x40
je 0x1003dd87
test eax, 0x20000
je 0x1003dd87
test ebp, ebp
jne 0x1003db98
xor ecx, ecx
jmp 0x1003dbaf
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003dba0
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [esp + 0x24]
lea esi, [ecx + 1]
mov eax, dword [eax + 8]
lea edi, [eax + 1]
cmp edi, esi
cmovg ecx, eax
mov eax, ecx
cdq
add eax, 1
adc edx, 0
push edx
push eax
call fcn.10025910
mov ebp, eax
mov byte [ebx + 9], 1
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x1003dc09
push ebx
call fcn.10025b30
add esp, 4
mov eax, 7
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10115f0d
add esp, 0x9c
ret
cmp dword [esp + 0x20], 0
je 0x1003dc20
push esi
push dword [esp + 0x2c]
push ebp
call fcn.10118c90
add esp, 0xc
jmp 0x1003dc53
mov eax, dword [esp + 0x24]
push ebp
push edi
push dword [esp + 0x30]
mov byte [ebp], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x1003dc4f
cmp ebp, 0x200
jne 0x1003dc68
xor eax, eax
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x14]
cmp byte [0x10155b0c], 0
jne 0x1003dc84
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
jmp 0x1003dcd1
push dword [esp + 0x14]
call fcn.10025b30
add esp, 4
push ebx
call fcn.10025b30
add esp, 4
mov eax, ebp
jmp 0x1003dbf0
push 4
call dword [0x10155b50]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x1003dca1
push eax
call dword [0x10155b58]
add esp, 4
cmp byte [0x10155b0c], 0
jne 0x1003dcb4
mov dword [esp + 0x2c], 0
jmp 0x1003dcd1
push 2
call dword [0x10155b50]
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1003dcd1
push eax
call dword [0x10155b58]
add esp, 4
mov edi, dword [0x10158c24]
test edi, edi
je 0x1003dd60
nop
mov esi, dword [edi]
mov eax, ebp
mov ecx, dword [esi + 0xb8]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003dd10
test dl, dl
je 0x1003dd0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003dd10
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003dcf0
xor eax, eax
jmp 0x1003dd15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003dd21
mov eax, dword [esp + 0x24]
cmp dword [esi], eax
je 0x1003dd2a
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x1003dce0
jmp 0x1003dd60
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x1003dd5a
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x1003dd52
cmp dword [eax + 4], edi
je 0x1003dee4
sub ecx, 0x10
sub edx, 1
jns 0x1003dd43
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003dd72
push eax
call dword [0x10155b60]
add esp, 4
push ebp
call fcn.10025b30
add esp, 4
test edi, edi
jne 0x1003dfec
mov ebp, dword [esp + 0x28]
xorps xmm0, xmm0
push 0
push 0x5c
movq qword [esp + 0x50], xmm0
call fcn.10025910
mov edi, eax
add esp, 8
test edi, edi
je 0x1003e107
push 0x5c
push 0
push edi
call fcn.10117800
add esp, 8
mov edx, edi
push dword [esp + 0xc0]
push dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
call fcn.100353f0
mov ebp, eax
add esp, 0x14
mov esi, edi
test ebp, ebp
jne 0x1003e0f8
mov edx, dword [esp + 0x18]
mov ecx, dword [edi]
mov eax, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], edx
call fcn.10034930
mov esi, dword [edi]
lea eax, [esp + 0x38]
push 0x64
push ebp
push eax
call fcn.10117800
mov eax, dword [esi + 0x40]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1003de2e
push ebp
push ebp
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov ebp, eax
add esp, 0x14
cmp ebp, 0x20a
je 0x1003de38
mov esi, edi
test ebp, ebp
jne 0x1003e0f8
mov eax, dword [esp + 0x30]
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + 0xc0], 0x1003da10
lea ecx, [eax + 0xc0]
mov dword [eax + 0xc4], edi
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
test edx, edx
je 0x1003de73
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov dword [ebx + 4], edi
mov esi, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp byte [esi + 0xe], 0
je 0x1003de91
or word [edi + 0x18], 1
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [edi + 0x24], ecx
cmp ecx, 0x200
jb 0x1003df24
cmp ecx, 0x10000
ja 0x1003df24
lea eax, [ecx - 1]
test ecx, eax
jne 0x1003df24
mov cl, byte [esp + 0x4c]
or word [edi + 0x18], 2
mov eax, dword [esp + 0x6c]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x11], al
mov eax, dword [esp + 0x78]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x12], al
jmp 0x1003df41
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003def6
push eax
call dword [0x10155b60]
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003df08
push eax
call dword [0x10155b60]
add esp, 4
push ebp
call fcn.10025b30
add esp, 4
push ebx
call fcn.10025b30
add esp, 4
mov eax, 0x13
jmp 0x1003dbf0
cmp dword [esp + 0x28], 0
mov dword [edi + 0x24], 0
je 0x1003df3f
cmp dword [esp + 0x20], 0
jne 0x1003df3f
mov word [edi + 0x11], 0
xor cl, cl
movzx eax, cl
lea edx, [edi + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.10034a50
add esp, 4
mov dword [esp + 0x1c], eax
mov esi, edi
test eax, eax
jne 0x1003e0f4
mov eax, dword [edi + 0x24]
sub eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov dword [edi + 0x44], 1
cmp byte [ebx + 9], 0
je 0x1003dfec
cmp byte [0x10155b0c], 0
je 0x1003dfde
push 2
call dword [0x10155b50]
add esp, 4
mov esi, eax
cmp byte [0x10155b0c], 0
je 0x1003dfb6
push 0
call dword [0x10155b50]
add esp, 4
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x1003dfb6
lea ebp, [eax + 7]
mov esi, edi
jmp 0x1003e0f8
test esi, esi
je 0x1003dfde
push esi
call dword [0x10155b58]
mov eax, dword [0x10158c24]
add esp, 4
mov dword [edi + 0x48], eax
mov dword [0x10158c24], edi
push esi
call dword [0x10155b60]
add esp, 4
jmp 0x1003dfec
mov eax, dword [0x10158c24]
mov dword [0x10158c24], edi
mov dword [edi + 0x48], eax
cmp byte [ebx + 9], 0
mov esi, edi
je 0x1003e078
mov eax, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [eax + 0x14]
test ebp, ebp
jle 0x1003e078
mov ecx, dword [eax + 0x10]
add ecx, 4
nop dword [eax + eax]
mov eax, dword [ecx]
test eax, eax
je 0x1003e01c
cmp byte [eax + 9], 0
jne 0x1003e026
inc edx
add ecx, 0x10
cmp edx, ebp
jl 0x1003e010
jmp 0x1003e078
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1003e039
nop dword [eax]
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x1003e030
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x1003e050
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x1003e078
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1003e065
cmp dword [ecx + 4], edx
jae 0x1003e065
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1003e057
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x1003e075
mov dword [ecx + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1003e098
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
test esi, esi
je 0x1003e10e
jmp 0x1003e0f8
mov al, byte [ebx + 9]
mov esi, dword [ebx + 4]
test al, al
je 0x1003e0c6
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x1003e0b9
mov ecx, ebx
call fcn.1003bcc0
mov al, byte [ebx + 9]
test al, al
je 0x1003e0c6
add dword [ebx + 0xc], 0xffffffff
jne 0x1003e0c6
mov ecx, ebx
call fcn.1003bca0
cmp dword [esi + 0x34], 0
jne 0x1003e0d8
mov edx, 0xfffff830
mov ecx, ebx
call fcn.1003e300
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx]
test edx, edx
je 0x1003e12a
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
jmp 0x1003e12a
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi]
test ecx, ecx
je 0x1003e10e
xor edx, edx
call fcn.10034c00
jmp 0x1003e10e
mov ebp, 7
mov esi, edi
push esi
call fcn.10025b30
add esp, 4
push ebx
call fcn.10025b30
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003e13c
push eax
call dword [0x10155b60]
add esp, 4
mov eax, ebp
jmp 0x1003dbf0