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

Disassembly:
sub esp, 0x74
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ebx
mov esi, 0x2c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x34]
mov dword [esp + 0x1c], 0
mov ebp, dword [eax]
mov edx, ebp
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10033a1a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10033a07
jmp 0x10033a22
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
xor esi, esi
cmp word [edi + 0x28], si
jne 0x10033ad2
cmp dword [ebp + 0x60], esi
jbe 0x10033a92
lea eax, [esp + 0x14]
push eax
push 4
call fcn.10021870
add esp, 8
cmp byte [edi + 0x2b], 0
jne 0x10033a62
mov eax, dword [edi + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033a89
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.10032130
cmp byte [edi + 0x2b], 0
jne 0x10033aac
mov eax, dword [edi + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
jmp 0x10033a92
cmp esi, 5
jne 0x10033f93
cmp byte [edi + 0x2b], 0
jne 0x10033aac
mov eax, dword [edi + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
or eax, 0xffffffff
xor ebx, ebx
mov word [edi + 0x28], ax
inc ebx
lea edx, [esp + 0x2c]
push ebx
push 1
mov ecx, edi
call fcn.10033120
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x10033ab5
mov ebx, dword [esp + 0x38]
test esi, esi
jne 0x10033f93
mov ebp, dword [edi + 0x44]
mov dword [esp + 0x30], ebp
test ebp, ebp
jne 0x10033bd3
mov eax, dword [esp + 0x28]
lea esi, [edi + 0x54]
mov ecx, dword [edi + 0x70]
mov dword [esp + 0x5c], 0x82067f37
mov dword [esp + 0x60], 0x18e22d00
bswap eax
mov dword [esp + 0x64], eax
mov eax, ecx
bswap eax
mov dword [esp + 0x68], eax
test ecx, ecx
jne 0x10033b20
push esi
push 8
call fcn.10021870
add esp, 8
mov ecx, dword [esi + 4]
xor edx, edx
mov eax, dword [esi]
xor esi, esi
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x74]
cmp ecx, eax
jb 0x10033b35
mov eax, esi
mov dword [edi + 0x50], edx
bswap eax
mov dword [esp + 0x74], eax
mov eax, edx
bswap eax
mov dword [esp + 0x78], eax
lea edx, [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x4c], esi
mov dword [edi + 0x24], eax
mov eax, dword [edi + 8]
push 0
push 0
mov byte [edi + 0x41], 0
mov byte [edi + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10033f93
cmp byte [edi + 0x30], al
je 0x10033bd3
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + 8]
sar ecx, 2
and ecx, 3
je 0x10033bd1
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x10033bd3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10129131
add esp, 0x74
ret
xor esi, esi
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
add eax, 0x18
cdq
mov ecx, eax
mov dword [esp + 0x40], edi
mov eax, edx
movlpd qword [esp + 0x48], xmm0
push eax
push ecx
push 0
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
call fcn.1013bfb0
mov ecx, dword [esp + 0x90]
add eax, 0x20
mov ebp, edx
mov dword [esp + 0x20], eax
adc ebp, 0
cmp dword [esp + 0x38], 0
mov dword [esp + 0x18], ebp
je 0x10033d5e
nop word [eax + eax]
cmp dword [esp + 0x1c], 0
je 0x10033ce9
cmp dword [ebx + 0x10], 0
lea ebp, [ebx + 0x10]
jne 0x10033c5c
test ecx, ecx
jne 0x10033ce9
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.10033440
mov esi, dword [esp + 0x18]
add esp, 4
cmp esi, dword [esp + 0x1c]
jb 0x10033cde
push dword [esp + 0x34]
lea eax, [esi - 1]
push dword [esp + 0x30]
push 0
push eax
call fcn.1013bfb0
mov ecx, dword [edi + 0x68]
add eax, 0x38
mov dword [esp + 0x14], eax
adc edx, 0
test ecx, ecx
je 0x10033ca8
cmp esi, ecx
jae 0x10033cab
mov dword [edi + 0x68], esi
mov eax, dword [edi + 8]
push edx
push dword [esp + 0x18]
push dword [esp + 0x30]
mov ecx, dword [eax]
push dword [ebx + 4]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10033f93
mov eax, dword [esp + 0x20]
mov edx, 0xffbf
and word [ebx + 0x1c], dx
jmp 0x10033d40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x90]
inc dword [esp + 0x30]
lea ebp, [ebx + 0x10]
test ecx, ecx
je 0x10033d03
cmp dword [ebp], 0
jne 0x10033d03
mov ecx, dword [esp + 0x8c]
jmp 0x10033d05
xor ecx, ecx
push dword [esp + 0x18]
mov edx, ebx
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.10033690
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033f93
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
adc dword [esp + 0x18], ecx
or word [ebx + 0x1c], 0x40
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], eax
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x90]
test ebx, ebx
jne 0x10033c40
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x10033ee6
cmp dword [edi + 0x68], 0
je 0x10033d81
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.10033770
mov esi, eax
test esi, esi
jne 0x10033f93
and dword [esp + 0x94], 3
je 0x10033e94
cmp byte [edi + 0x31], 0
je 0x10033e7c
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10033dc5
push ecx
call eax
add esp, 4
cmp eax, 0x20
jge 0x10033db7
mov eax, 0x200
jmp 0x10033dca
cmp eax, 0x10000
jle 0x10033dca
mov eax, 0x10000
jmp 0x10033dca
mov eax, 0x1000
mov ebx, dword [esp + 0x20]
cdq
mov ecx, eax
add ecx, ebx
mov dword [esp + 0x18], ecx
mov ecx, edx
adc ecx, ebp
sub dword [esp + 0x18], 1
push edx
sbb ecx, 0
push eax
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
call fcn.1013bef0
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
sbb eax, edx
mov dword [esp + 0x4c], eax
cmp ecx, ebx
jne 0x10033e17
mov dword [esp + 0x1c], 1
cmp eax, ebp
je 0x10033e1f
mov dword [esp + 0x1c], 0
cmp ebp, eax
jg 0x10033e75
jl 0x10033e30
cmp ebx, ecx
jae 0x10033e75
nop dword [eax]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push ebp
push ebx
push dword [esp + 0x94]
call fcn.10033690
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033f93
add ebx, dword [esp + 0x2c]
adc ebp, dword [esp + 0x34]
inc dword [esp + 0x24]
cmp ebp, dword [esp + 0x4c]
jl 0x10033e30
jg 0x10033e6d
cmp ebx, dword [esp + 0x48]
jb 0x10033e30
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], 0
je 0x10033e94
mov ecx, dword [esp + 0x14]
push dword [esp + 0x94]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov esi, eax
cmp byte [edi + 0x2f], 0
je 0x10033ee6
mov ebp, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
test ebp, ebp
jl 0x10033ee6
jg 0x10033eaa
test ebx, ebx
jb 0x10033ee6
push dword [esp + 0x34]
mov eax, dword [esp + 0x28]
push dword [esp + 0x30]
add eax, dword [esp + 0x38]
push 0
push eax
call fcn.1013bfb0
add eax, 0x20
adc edx, 0
cmp edx, ebp
jl 0x10033ed6
jg 0x10033ed2
cmp eax, ebx
jbe 0x10033ed6
mov ebx, eax
mov ebp, edx
push ebp
push ebx
mov ecx, edi
call fcn.10032740
add esp, 8
mov byte [edi + 0x2f], 0
mov ebp, dword [esp + 0x38]
mov ebx, dword [edi + 0x44]
test ebp, ebp
je 0x10033f18
test esi, esi
jne 0x10033f93
test byte [ebp + 0x1c], 0x40
je 0x10033f11
push dword [ebp + 0x18]
inc ebx
mov ecx, edi
mov edx, ebx
call fcn.10031340
add esp, 4
mov esi, eax
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x10033ef1
test esi, esi
jne 0x10033f93
nop dword [eax]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x10033f5a
dec eax
inc ebx
mov dword [esp + 0x24], eax
mov edx, ebx
mov eax, dword [esp + 0x3c]
mov ecx, edi
push dword [eax + 0x18]
call fcn.10031340
mov esi, eax
add esp, 4
test esi, esi
je 0x10033f20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10129131
add esp, 0x74
ret
mov ecx, dword [esp + 0x28]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [edi + 0x44], ebx
cmp dword [esp + 0x90], 0
mov word [edi + 0x42], ax
je 0x10033f93
mov eax, dword [esp + 0x8c]
mov ecx, edi
inc dword [edi + 0x3c]
mov dword [edi + 0x48], eax
call fcn.10031150
mov dword [edi + 0xc], ebx
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10129131
add esp, 0x74
ret