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

Disassembly:
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 8], ebp
xor eax, eax
mov ebp, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], eax
push esi
push edi
test ebp, ebp
je 0x10041e01
cmp byte [ebp], al
je 0x10041e01
xor edi, edi
jmp 0x10041e0a
mov edi, 1
test ebp, ebp
je 0x10041e3e
mov ecx, str.:memory:
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10041e31
test dl, dl
je 0x10041e2d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10041e31
add eax, 2
add ecx, 2
test dl, dl
jne 0x10041e11
xor eax, eax
jmp 0x10041e36
sbb eax, eax
or eax, 1
test eax, eax
je 0x10041e5a
test edi, edi
je 0x10041e44
cmp byte [ebx + 0x56], 2
je 0x10041e5a
mov eax, dword [esp + 0xbc]
test al, al
js 0x10041e61
mov ecx, dword [esp + 0xb8]
xor esi, esi
jmp 0x10041e70
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
mov esi, 1
or ecx, 2
mov dword [esp + 0x18], ecx
test eax, 0x100
je 0x10041e94
test esi, esi
jne 0x10041e83
test edi, edi
je 0x10041e94
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xbc], eax
push 0
push 0x30
call fcn.10027b10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10041f9e
push 0x30
push 0
push ebx
call fcn.1013ad10
mov eax, dword [esp + 0x30]
add esp, 0xc
mov byte [ebx + 8], 0
mov dword [ebx], eax
mov dword [ebx + 0x20], ebx
mov dword [ebx + 0x24], 1
mov dword [esp + 0x20], esi
test edi, edi
jne 0x10042336
mov eax, dword [esp + 0xbc]
test esi, esi
je 0x10041eee
mov dword [esp + 0x20], esi
test al, 0x40
je 0x10042336
mov dword [esp + 0x20], esi
test eax, 0x20000
je 0x10042336
test ebp, ebp
jne 0x10041f05
xor ecx, ecx
jmp 0x10041f1f
mov ecx, ebp
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041f10
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [esp + 0x28]
lea edi, [ecx + 1]
mov eax, dword [eax + 8]
lea ebp, [eax + 1]
cmp ebp, edi
cmovg ecx, eax
mov eax, ecx
cdq
add eax, 1
adc edx, 0
push edx
push eax
call fcn.10027b10
add esp, 8
mov dword [esp + 0x14], eax
mov byte [ebx + 9], 1
test eax, eax
jne 0x10041fc5
cmp dword [0x10178a38], eax
je 0x10041fbc
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10041f6b
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10041f9e
push eax
call dword [0x10178a90]
add esp, 4
mov eax, 7
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013942d
add esp, 0x9c
ret
push ebx
call dword [0x10178a5c]
jmp 0x10041f9b
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x10041fde
mov ebp, dword [esp + 0x14]
push edi
push edx
push ebp
call fcn.1013c1a0
add esp, 0xc
jmp 0x1004200d
push eax
mov byte [eax], 0
mov eax, dword [esp + 0x2c]
push ebp
push edx
push eax
mov eax, dword [eax + 0x24]
call eax
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x10042009
cmp ebp, 0x200
jne 0x10042029
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
cmp byte [0x10178a3c], 0
jne 0x100420f0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
jmp 0x1004213d
cmp dword [0x10178a38], 0
je 0x1004207b
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10042045
push eax
call dword [0x10178a88]
add esp, 4
mov esi, dword [esp + 0x14]
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1004208e
push eax
call dword [0x10178a90]
jmp 0x10042086
mov esi, dword [esp + 0x14]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
cmp dword [0x10178a38], 0
je 0x100420df
test eax, eax
je 0x100420a5
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100420e9
push eax
call dword [0x10178a90]
add esp, 4
mov eax, ebp
jmp 0x10041fa3
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, ebp
jmp 0x10041fa3
push 4
call dword [0x10178a80]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004210d
push eax
call dword [0x10178a88]
add esp, 4
cmp byte [0x10178a3c], 0
jne 0x10042120
mov dword [esp + 0x2c], 0
jmp 0x1004213d
push 2
call dword [0x10178a80]
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1004213d
push eax
call dword [0x10178a88]
add esp, 4
mov edi, dword [0x1017bb4c]
mov dword [esp + 0x20], esi
test edi, edi
je 0x100421cc
mov dword [esp + 0x20], esi
mov esi, dword [edi]
mov eax, ebp
mov ecx, dword [esi + 0xb8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10042180
test dl, dl
je 0x1004217c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10042180
add eax, 2
add ecx, 2
test dl, dl
jne 0x10042160
xor eax, eax
jmp 0x10042185
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10042191
mov eax, dword [esp + 0x28]
cmp dword [esi], eax
je 0x1004219a
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x10042153
jmp 0x100421cc
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x100421c6
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add eax, ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x100421be
cmp dword [ecx + 4], edi
je 0x10042237
sub eax, 0x10
sub edx, 1
jns 0x100421b3
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100421de
push eax
call dword [0x10178a90]
add esp, 4
cmp dword [0x10178a38], 0
je 0x10042320
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x100421fe
push eax
call dword [0x10178a88]
add esp, 4
push ebp
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebp
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1004232a
push eax
call dword [0x10178a90]
jmp 0x10042327
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10042249
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004225b
push eax
call dword [0x10178a90]
add esp, 4
cmp dword [0x10178a38], 0
je 0x100422a9
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10042277
push eax
call dword [0x10178a88]
add esp, 4
push ebp
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebp
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100422b8
push eax
call dword [0x10178a90]
jmp 0x100422b0
push ebp
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
cmp dword [0x10178a38], 0
je 0x1004230c
test eax, eax
je 0x100422cf
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10042316
push eax
call dword [0x10178a90]
add esp, 4
mov eax, 0x13
jmp 0x10041fa3
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, 0x13
jmp 0x10041fa3
push ebp
call dword [0x10178a5c]
add esp, 4
test edi, edi
jne 0x10042552
mov ebp, dword [esp + 0x1c]
xorps xmm0, xmm0
push 0
push 0x5c
movq qword [esp + 0x50], xmm0
call fcn.10027b10
mov edi, eax
add esp, 8
test edi, edi
je 0x10042753
push 0x5c
push 0
push edi
call fcn.1013ad10
add esp, 8
mov edx, edi
push dword [esp + 0xc0]
push dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
call fcn.100390f0
add esp, 0x14
mov dword [esp + 0x10], eax
mov esi, edi
test eax, eax
jne 0x100426e5
mov edx, dword [esp + 0x24]
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.10038550
mov esi, dword [edi]
lea eax, [esp + 0x38]
xor ebp, ebp
push 0x64
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.1013ad10
mov eax, dword [esi + 0x40]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x100423e8
push ebp
push ebp
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0x20a
je 0x100423f4
jmp 0x100423ea
xor eax, eax
mov esi, edi
test eax, eax
jne 0x100426e5
mov eax, dword [esp + 0x18]
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + 0xc0], 0x10041d60
lea ecx, [eax + 0xc0]
mov dword [eax + 0xc4], edi
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
test edx, edx
je 0x1004242f
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], ebp
mov dword [edi + 0xc], ebp
cmp byte [esi + 0xe], 0
je 0x10042445
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 0x10042498
cmp ecx, 0x10000
ja 0x10042498
lea eax, [ecx - 1]
test ecx, eax
jne 0x10042498
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 0x100424ad
mov dword [edi + 0x24], ebp
cmp dword [esp + 0x1c], ebp
je 0x100424ab
cmp dword [esp + 0x20], ebp
jne 0x100424ab
mov word [edi + 0x11], bp
xor cl, cl
movzx ebp, cl
lea edx, [edi + 0x24]
push ebp
mov ecx, esi
call fcn.10038670
add esp, 4
mov dword [esp + 0x10], eax
mov esi, edi
test eax, eax
jne 0x100426e5
mov eax, dword [edi + 0x24]
sub eax, ebp
mov dword [edi + 0x44], 1
mov dword [edi + 0x28], eax
cmp byte [ebx + 9], 0
je 0x10042552
cmp byte [0x10178a3c], 0
je 0x10042544
push 2
call dword [0x10178a80]
add esp, 4
mov esi, eax
cmp byte [0x10178a3c], 0
je 0x1004251c
push 0
call dword [0x10178a80]
add esp, 4
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x1004251c
lea ebp, [eax + 7]
mov esi, edi
jmp 0x100426e9
test esi, esi
je 0x10042544
push esi
call dword [0x10178a88]
mov eax, dword [0x1017bb4c]
add esp, 4
mov dword [edi + 0x48], eax
mov dword [0x1017bb4c], edi
push esi
call dword [0x10178a90]
add esp, 4
jmp 0x10042552
mov eax, dword [0x1017bb4c]
mov dword [0x1017bb4c], edi
mov dword [edi + 0x48], eax
cmp byte [ebx + 9], 0
mov esi, edi
je 0x100425d8
mov eax, dword [esp + 0x24]
xor edx, edx
mov ebp, dword [eax + 0x14]
test ebp, ebp
jle 0x100425d8
mov ecx, dword [eax + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x1004257d
cmp byte [eax + 9], 0
jne 0x10042587
inc edx
add ecx, 0x10
cmp edx, ebp
jl 0x10042571
jmp 0x100425d8
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x10042599
nop
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x10042590
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x100425b0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x100425d8
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100425c5
cmp dword [ecx + 4], edx
jae 0x100425c5
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x100425b7
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x100425d5
mov dword [ecx + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x30]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10042601
mov ecx, dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
test esi, esi
jne 0x100426e9
jmp 0x10042758
cmp byte [ebx + 9], 0
mov esi, dword [ebx + 4]
je 0x1004262d
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x1004261a
mov ecx, ebx
call fcn.1003fd90
cmp byte [ebx + 9], 0
je 0x1004262d
add dword [ebx + 0xc], 0xffffffff
jne 0x1004262d
mov ecx, ebx
call fcn.1003fd70
cmp dword [esi + 0x34], 0
jne 0x100426aa
cmp byte [ebx + 9], 0
mov esi, dword [ebx + 4]
je 0x1004264c
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x1004264c
mov ecx, ebx
call fcn.1003fd90
mov eax, dword [esi]
mov esi, dword [eax + 0xe4]
mov eax, dword [esi + 0x24]
add eax, dword [esi + 0x20]
cdq
push edx
push eax
push 0
push 0x1f4000
mov dword [esi + 0x18], 0xfffff830
call fcn.1014b3b0
test edx, edx
jl 0x1004268a
jg 0x1004267d
cmp eax, 0x3b9aca00
jbe 0x1004268a
mov eax, 0x3b9aca00
mov dword [esp + 0x34], 0
push eax
push dword [esi + 0x34]
call dword [0x10178ab0]
add esp, 8
cmp byte [ebx + 9], 0
je 0x100426aa
add dword [ebx + 0xc], 0xffffffff
jne 0x100426aa
mov ecx, ebx
call fcn.1003fd70
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx]
test edx, edx
je 0x100426c4
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100420e9
push eax
call dword [0x10178a90]
add esp, 4
mov eax, ebp
jmp 0x10041fa3
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x100426f6
xor edx, edx
call fcn.10038850
cmp dword [0x10178a38], 0
je 0x10042747
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10042712
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10042758
push eax
call dword [0x10178a90]
add esp, 4
jmp 0x10042758
push esi
call dword [0x10178a5c]
add esp, 4
jmp 0x10042758
mov ebp, 7
cmp dword [0x10178a38], 0
je 0x100427b6
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10042774
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100427c0
push eax
call dword [0x10178a90]
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax], 0
jmp 0x100426c8
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [eax], 0
jmp 0x100426c8