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

Disassembly:
sub esp, 0x1c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0x58]
cmp eax, 2
jl 0x1000438a
cmp dword [edi + 4], 0
jne 0x10003c62
mov eax, 0xffffff76
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
mov ebp, dword [esp + 0x1dc]
test ebp, ebp
jl 0x1000438a
mov ebx, dword [esp + 0x1d8]
jg 0x10003c82
test ebx, ebx
jb 0x1000438a
cmp ebp, dword [edi + 0x14]
jg 0x1000438a
jl 0x10003c96
cmp ebx, dword [edi + 0x10]
ja 0x1000438a
cmp eax, 3
jl 0x10003cc3
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x38]
cmp ebp, dword [eax + ecx*8 + 4]
jl 0x10003cbc
jg 0x10003cae
cmp ebx, dword [eax + ecx*8]
jb 0x10003cbc
cmp ebp, dword [eax + ecx*8 + 0xc]
jl 0x10003cc3
jg 0x10003cbc
cmp ebx, dword [eax + ecx*8 + 8]
jb 0x10003cc3
mov ecx, edi
call fcn.10002fd0
mov edx, dword [edi + 0x5c]
lea esi, [edi + 0x78]
mov ecx, esi
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
call fcn.1000e2d0
lea ecx, [edi + 0x1e0]
call fcn.10005940
push ebp
push ebx
mov ecx, edi
call fcn.10001b00
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
je 0x10003d27
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
call fcn.1000da70
mov ecx, edi
call fcn.10002fd0
mov eax, 0xffffff77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
mov edx, dword [edi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.1000d9c0
lea ecx, [esp + 0x68]
call fcn.1000e240
nop dword [eax]
cmp dword [edi + 0x58], 3
jl 0x10003f10
cmp dword [esp + 0x68], 0
je 0x10003f10
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x6c]
call fcn.1000e360
add esp, 4
test eax, eax
jle 0x10003f10
mov ecx, dword [edi + 0x60]
shl ecx, 5
add ecx, dword [edi + 0x48]
cmp dword [ecx + 0x1c], 0
je 0x10003eae
lea edx, [esp + 0x48]
call fcn.10006e50
mov ebp, eax
test ebp, ebp
jns 0x10003e03
test esi, esi
je 0x10003dfc
cmp dword [esi], 0
je 0x10003dfc
mov edx, dword [esi + 0x24]
cmp dword [esi + 0x20], edx
jle 0x10003dfc
mov eax, dword [esi + 0x10]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, 0x400
jne 0x10003de8
movzx ebx, al
cmp ebx, 0xff
jne 0x10003de5
nop dword [eax]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 4]
and eax, 0xff
inc edx
add ebx, eax
cmp eax, 0xff
je 0x10003dd0
add dword [esi + 0xc], ebx
add dword [esi + 0x158], 1
lea eax, [edx + 1]
mov dword [esi + 0x24], eax
adc dword [esi + 0x15c], 0
xor ebp, ebp
jmp 0x10003e8e
cmp dword [esp + 0x24], 0
je 0x10003e80
cmp dword [esp + 0x18], 0
jne 0x10003e80
test esi, esi
je 0x10003e8e
cmp dword [esi], 0
je 0x10003e8e
mov edx, dword [esi + 0x24]
cmp dword [esi + 0x20], edx
jle 0x10003e8e
mov eax, dword [esi + 0x10]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, 0x400
je 0x10003e47
add dword [esi + 0x158], 1
lea eax, [edx + 1]
mov dword [esi + 0x24], eax
adc dword [esi + 0x15c], 0
jmp 0x10003e8e
movzx ebx, al
cmp ebx, 0xff
jne 0x10003e67
mov eax, dword [ecx + 4]
lea ecx, [ecx + 4]
and eax, 0xff
inc edx
add ebx, eax
cmp eax, 0xff
je 0x10003e52
add dword [esi + 0xc], ebx
lea eax, [edx + 1]
add dword [esi + 0x158], 1
mov dword [esi + 0x24], eax
adc dword [esi + 0x15c], 0
jmp 0x10003e8e
test ebx, ebx
je 0x10003e8e
lea eax, [ebx + ebp]
sar eax, 2
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x58]
mov eax, ecx
mov ebx, dword [esp + 0x5c]
and eax, ebx
cmp eax, 0xffffffff
jne 0x100041bd
mov ebx, ebp
mov dword [esp + 0x14], ebx
jmp 0x10003d50
test esi, esi
je 0x10003f10
cmp dword [esi], 0
je 0x10003f10
mov edx, dword [esi + 0x24]
cmp dword [esi + 0x20], edx
jle 0x10003f10
mov eax, dword [esi + 0x10]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, 0x400
jne 0x10003efc
movzx ebx, al
cmp ebx, 0xff
jne 0x10003ef5
nop dword [eax]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 4]
and eax, 0xff
inc edx
add ebx, eax
cmp eax, 0xff
je 0x10003ee0
add dword [esi + 0xc], ebx
mov ebx, dword [esp + 0x14]
add dword [esi + 0x158], 1
lea eax, [edx + 1]
mov dword [esi + 0x24], eax
adc dword [esi + 0x15c], 0
test ebx, ebx
jne 0x10004320
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x30]
mov ecx, edi
call fcn.10001b80
mov ecx, dword [edi + 0x58]
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
test edx, edx
jl 0x100042cb
jg 0x10003f47
test eax, eax
jb 0x100042cb
mov ebp, dword [esp + 0x28]
cmp ecx, 3
jl 0x10004009
movzx ecx, byte [ebp + 0x11]
movzx eax, byte [ebp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xe]
shl ecx, 8
or ecx, eax
cmp dword [edi + 0x5c], ecx
je 0x10004009
test byte [ebp + 5], 2
je 0x10004009
lea ecx, [edi + 0x1e0]
call fcn.100059a0
lea ebx, [edi + 0x230]
mov ecx, ebx
call fcn.10005660
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x10003fae
push eax
call fcn.1001791b
add esp, 4
push 0x58
push 0
push ebx
call fcn.1000fa00
mov eax, dword [esp + 0x74]
add esp, 0xc
mov dword [edi + 0x58], 2
test eax, eax
je 0x10003fd3
push eax
call fcn.1001791b
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10003fe4
push eax
call fcn.1001791b
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x10003ff5
push eax
call fcn.1001791b
add esp, 4
push 0x168
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.1000fa00
add esp, 0xc
cmp dword [edi + 0x58], 3
jge 0x10004191
movzx ecx, byte [ebp + 0x11]
movzx eax, byte [ebp + 0x10]
mov ebx, dword [edi + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0xe]
shl ecx, 8
or ecx, eax
xor eax, eax
test ebx, ebx
jle 0x1000404c
mov edx, dword [edi + 0x40]
nop
cmp dword [edx], ecx
je 0x1000404c
inc eax
add edx, 4
cmp eax, ebx
jl 0x10004040
cmp eax, ebx
mov ebx, dword [esp + 0x14]
je 0x10003d50
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], ecx
test esi, esi
je 0x100040e0
cmp dword [esi], 0
je 0x100040e0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x154], 0xffffffff
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x150], ecx
cmp dword [esp + 0x68], 0
je 0x10004160
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1bc], 0xffffffff
movlpd qword [esp + 0x1c0], xmm0
movlpd qword [esp + 0x1c8], xmm0
mov dword [esp + 0x1b8], ecx
mov ecx, dword [edi + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x58], 3
cmp edx, dword [ecx + eax*8 + 4]
jg 0x10004189
jl 0x1000417f
mov edx, dword [esp + 0x40]
cmp edx, dword [ecx + eax*8]
ja 0x10004189
mov dword [esp + 0x18], 1
jmp 0x10004191
mov dword [esp + 0x18], 0
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.1000df50
lea edx, [esp + 0x28]
lea ecx, [esp + 0x68]
call fcn.1000df50
movzx ebp, byte [ebp + 5]
mov ebx, dword [esp + 0x14]
and ebp, 4
mov dword [esp + 0x24], ebp
jmp 0x10003d50
mov ebp, dword [edi + 0x60]
mov eax, ebp
mov edx, dword [edi + 0x44]
shl eax, 4
mov dword [esp + 0x3c], ebp
sub ecx, dword [eax + edx]
sbb ebx, dword [eax + edx + 4]
mov dword [esp + 0x24], ebx
test ebx, ebx
jg 0x100041f6
jl 0x100041e1
test ecx, ecx
jae 0x100041f6
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
xorps xmm0, xmm0
xor esi, esi
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x28], xmm0
cmp ebp, 2
jl 0x100042ab
mov edi, dword [esp + 0x1c]
lea eax, [edx + 0x18]
mov ebx, dword [esp + 0x18]
lea edx, [ebp - 2]
mov ebp, dword [esp + 0x2c]
shr edx, 1
inc edx
lea esi, [edx + edx]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
add ebx, dword [eax - 0x10]
adc edi, dword [eax - 0xc]
add esi, dword [eax]
adc ebp, dword [eax + 4]
lea eax, [eax + 0x20]
sub edx, 1
jne 0x10004230
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
jge 0x1000426b
mov edx, dword [edi + 0x44]
shl eax, 4
add ecx, dword [eax + edx + 8]
adc ebx, dword [eax + edx + 0xc]
mov eax, dword [esp + 0x38]
cdq
sub esi, eax
sbb ebp, edx
add esi, dword [esp + 0x18]
adc ebp, dword [esp + 0x14]
add esi, ecx
mov dword [edi + 0x50], esi
adc ebp, ebx
mov dword [edi + 0x54], ebp
test ebp, ebp
jg 0x1000432e
jl 0x10004298
test esi, esi
jae 0x1000432e
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
jmp 0x1000432e
mov eax, dword [esp + 0x1c]
test ebp, ebp
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jle 0x1000426b
xor eax, eax
jmp 0x10004260
cmp ecx, 2
jl 0x10004310
cmp dword [edi + 4], 0
je 0x10004310
mov eax, dword [edi + 0x34]
cmp eax, 0xffffffff
jle 0x10004310
xorps xmm0, xmm0
xor esi, esi
movlpd qword [esp + 0x28], xmm0
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test eax, eax
jle 0x10004318
mov edx, esi
mov ecx, edi
call fcn.10003af0
add ebx, eax
adc ebp, edx
inc esi
cmp esi, dword [edi + 0x34]
jl 0x100042f5
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebp
jmp 0x1000432e
or ebp, 0xffffffff
mov ebx, 0xffffff7d
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebp
jmp 0x1000432e
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0xffffffff
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1000433f
push eax
call fcn.1001791b
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10004350
push eax
call fcn.1001791b
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x10004361
push eax
call fcn.1001791b
add esp, 4
mov dword [edi + 0x68], 0
xor eax, eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff7d
pop ebx
add esp, 0x1c4
ret