Function at 0x10004070
Capabilities:
Access peb ldr_data
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword fs:[0x18]
mov dword [0x1019f44c], 0
mov dword [0x1019f450], 0
mov dword [0x1019f454], 0
mov eax, dword [eax + 0x30]
push esi
push edi
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax]
mov edi, dword [eax]
mov dword [esp + 0x48], edi
cmp edi, dword [esp + 0x4c]
je 0x1000474f
mov edi, dword [edi + 0x10]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
cmp dword [eax + 0x14], 0
je 0x1000473b
mov edx, dword [eax + 0x20]
add edx, edi
mov dword [esp + 0x10], edx
je 0x1000473b
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [esp + 0x18], ecx
je 0x1000473b
mov ecx, dword [eax + 0x24]
add ecx, edi
mov dword [esp + 0x14], ecx
je 0x1000473b
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000473b
mov dword [esp + 0xc0], 0xac247a05
mov dword [esp + 0xc4], 0xc6e115f5
mov dword [esp + 0xc8], 0xef7cfaee
mov dword [esp + 0xcc], 0xd3acaaf0
movaps xmm1, xmmword [esp + 0xc0]
mov dword [esp + 0xd0], 0xcd410846
mov dword [esp + 0xd4], 0xa8a87081
mov dword [esp + 0xd8], 0x890e9f9a
mov dword [esp + 0xdc], 0xd3c9c991
movaps xmm2, xmmword [esp + 0xd0]
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0x20]
movaps xmm0, xmm2
add eax, edi
pxor xmm0, xmm1
movaps xmmword [esp + 0x20], xmm0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100041b6
test dl, dl
je 0x100041b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100041b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004196
xor eax, eax
jmp 0x100041bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100041cf
mov edx, dword [esp + 0x10]
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x10004181
jmp 0x1000473b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
je 0x1000473b
cmp byte [eax], 0x55
jne 0x1000473b
cmp byte [eax + 4], 0xe9
lea ecx, [eax + 4]
jne 0x1000473b
cmp byte [eax + 9], 0xcc
jne 0x1000473b
cmp byte [eax + 0xa], 0xcc
jne 0x1000473b
mov eax, dword [ecx + 1]
cmp byte [eax + ecx + 5], 0x55
jne 0x1000473b
cmp byte [eax + ecx + 9], 0x8b
jne 0x1000473b
cmp byte [eax + ecx + 0xf], 0x57
jne 0x1000473b
mov eax, dword [eax + ecx + 0xb]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000473b
push dword [eax + 4]
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
call fcn.100014a0
mov ecx, dword [esp + 0x48]
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
movzx eax, word [ecx + 0x24]
push eax
push dword [ecx + 0x28]
lea ecx, [esp + 0x28]
call fcn.100011b0
cmp dword [esp + 0x34], 8
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
cmovae ecx, dword [esp + 0x20]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
lea esi, [ecx + eax*2]
lea ecx, [esp + 0x20]
mov eax, esi
cmovae ecx, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x18], ecx
sar eax, 1
lea ecx, [esp + 0x58]
push eax
call fcn.10001620
push dword [esp + 0x50]
lea ecx, [esp + 0x5c]
push esi
push dword [esp + 0x20]
call fcn.100017b0
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x1000432e
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004324
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push edx
push ecx
call fcn.10002496
add esp, 8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call eax
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x70]
push eax
call fcn.10001a50
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
lea esi, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
lea edi, [esp + 0x20]
add eax, edx
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x14], eax
cmovae esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x20]
lea esi, [edx + esi]
cmp edi, esi
je 0x100043db
nop
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x10004396
inc edi
cmp edi, esi
jne 0x10004380
mov edx, dword [esp + 0x30]
cmp edi, esi
je 0x100043db
lea eax, [edi + 1]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x100043db
nop dword [eax]
movsx eax, byte [eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x100043ca
mov eax, dword [esp + 0x10]
mov al, byte [eax]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x100043b0
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x20]
cmovae eax, esi
mov dword [esp + 0x10], edi
sub dword [esp + 0x10], eax
cmp edx, dword [esp + 0x10]
jb 0x10004760
sub dword [esp + 0x14], edi
mov eax, edx
mov edi, dword [esp + 0x10]
sub eax, edi
mov ecx, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x14]
cmovae ecx, esi
sub edx, eax
add ecx, edi
mov dword [esp + 0x30], edx
add eax, ecx
sub edx, edi
inc edx
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [esp + 0x20]
cmp dword [esp + 0x34], 0x10
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x14], eax
cmp edx, 0x10
jb 0x10004490
mov ecx, dword [esp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004486
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push edx
push ecx
call fcn.10002496
add esp, 8
cmp dword [esp + 0x84], 0x10
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x80]
cmovae eax, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x18], eax
cmp edi, 0x10
jae 0x100044cf
movups xmm0, xmmword [eax]
mov dword [esp + 0x9c], 0xf
movups xmmword [esp + 0x88], xmm0
jmp 0x10004545
mov esi, edi
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x10004513
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x10004765
push ecx
call fcn.10002466
add esp, 4
test eax, eax
je 0x1000475a
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10004526
test eax, eax
je 0x10004524
push eax
call fcn.10002466
add esp, 4
mov ecx, eax
jmp 0x10004526
xor ecx, ecx
lea eax, [edi + 1]
mov dword [esp + 0x88], ecx
push eax
push dword [esp + 0x1c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x9c], esi
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x98], edi
cmovae eax, esi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
cmp edi, 0x10
jae 0x10004585
movups xmm0, xmmword [eax]
mov dword [esp + 0xb4], 0xf
movups xmmword [esp + 0xa0], xmm0
jmp 0x100045ff
mov esi, edi
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x100045c9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x10004765
push ecx
call fcn.10002466
add esp, 4
test eax, eax
je 0x1000475a
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x100045dc
test eax, eax
je 0x100045da
push eax
call fcn.10002466
add esp, 4
mov ecx, eax
jmp 0x100045dc
xor ecx, ecx
lea eax, [edi + 1]
mov dword [esp + 0xa0], ecx
push eax
push dword [esp + 0x1c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [esp + 0xc0], esi
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [0x1019f450]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xb0], edi
push eax
cmp edx, dword [0x1019f454]
je 0x10004643
call fcn.10001b90
add esp, 4
add dword [0x1019f450], 0x38
jmp 0x10004649
push edx
call fcn.10001c10
mov edx, dword [esp + 0xb4]
cmp edx, 0x10
jb 0x10004685
mov ecx, dword [esp + 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000467b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push edx
push ecx
call fcn.10002496
add esp, 8
mov edx, dword [esp + 0x9c]
cmp edx, 0x10
jb 0x100046c1
mov ecx, dword [esp + 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100046b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push edx
push ecx
call fcn.10002496
add esp, 8
mov eax, dword [esp + 0x6c]
cmp eax, 0x10
jb 0x100046f1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100046e7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push ecx
push esi
call fcn.10002496
add esp, 8
mov eax, dword [esp + 0x84]
cmp eax, 0x10
jb 0x10004728
mov edx, dword [esp + 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000471e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000475a
push ecx
push edx
call fcn.10002496
add esp, 8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10004246
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
cmp edi, dword [esp + 0x4c]
jne 0x100040c5
pop edi
mov eax, 0x1019f44c
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.10001600
call fcn.100010e0
int3