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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
mov esi, edx
mov dword [esp + 0x34], ecx
mov edx, dword [ecx]
push edi
lea edi, [esp + 0x80]
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 1
mov eax, dword [edx + 0x60]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], 0
cmp dword [edx + 0xa8], 1
mov dword [esp + 0x48], edx
jle 0x100641d8
mov al, byte [esi]
test al, al
je 0x1006453a
mov edi, esi
inc esi
cmp al, 0xa
je 0x10064151
mov al, byte [esi]
test al, al
jne 0x10064146
mov edx, dword [esp + 0x20]
add edx, 3
cmp edx, dword [esp + 0x24]
jb 0x10064173
push 3
mov edx, 0x10117af4
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x1006418f
mov ecx, dword [esp + 0x1c]
mov ax, word [0x10117af4]
mov dword [esp + 0x20], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x10117af6]
mov byte [edx + ecx - 1], al
mov eax, dword [esp + 0x20]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x24]
jb 0x100641b0
push ecx
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x100641c9
test ecx, ecx
je 0x100641c9
mov dword [esp + 0x20], eax
sub eax, ecx
add eax, dword [esp + 0x1c]
push ecx
push edi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov al, byte [esi]
test al, al
jne 0x10064144
jmp 0x10064523
cmp word [ecx + 0x10], 0
jne 0x1006423b
test esi, esi
je 0x1006453a
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100641f0
sub ecx, edx
and ecx, 0x3fffffff
cmp ecx, 0x64
jb 0x10064218
push ecx
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x10064523
test ecx, ecx
je 0x1006453a
push ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x24], ecx
push esi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
jmp 0x10064523
mov al, byte [esi]
test al, al
je 0x1006453a
xor ecx, ecx
mov edi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], ecx
test al, al
je 0x10064285
lea edx, [esp + 0x44]
mov ecx, edi
call fcn.100b1bf0
cmp dword [esp + 0x44], 0x87
mov ecx, dword [esp + 0x10]
je 0x10064281
add edi, eax
add ecx, eax
mov dword [esp + 0x10], ecx
cmp byte [edi], 0
jne 0x10064255
mov edi, dword [esp + 0x34]
jmp 0x10064287
mov edi, eax
jmp 0x10064287
xor edi, edi
mov eax, dword [esp + 0x20]
add eax, ecx
cmp eax, dword [esp + 0x24]
jb 0x100642a4
push ecx
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x100642bd
test ecx, ecx
je 0x100642c1
mov dword [esp + 0x20], eax
sub eax, ecx
add eax, dword [esp + 0x1c]
push ecx
push esi
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x10]
add esi, ecx
test edi, edi
je 0x10064523
cmp byte [esi], 0x3f
jne 0x100642ed
cmp edi, 1
jle 0x100642e7
lea ecx, [esi + 1]
lea edx, [esp + 0x30]
call fcn.10041bc0
mov eax, dword [esp + 0x30]
jmp 0x10064303
mov eax, dword [esp + 0x3c]
jmp 0x100642ff
mov ecx, dword [esp + 0x38]
mov edx, esi
push edi
mov ecx, dword [ecx + 0x78]
call fcn.10042680
add esp, 4
mov dword [esp + 0x30], eax
add esi, edi
lea ecx, [eax + 1]
lea edi, [eax + eax*4]
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
lea edi, [edi - 5]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x74]
lea edi, [eax + edi*8]
movzx eax, word [edi + 8]
mov dword [esp + 0x34], edi
test al, 1
je 0x10064368
mov eax, dword [esp + 0x20]
lea edx, [eax + 4]
cmp edx, dword [esp + 0x24]
jb 0x10064351
push 4
mov edx, str.NULL
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x10064519
mov eax, dword [esp + 0x1c]
mov ecx, dword [str.NULL]
mov dword [esp + 0x20], edx
mov dword [edx + eax - 4], ecx
jmp 0x10064519
test al, 4
je 0x10064388
push dword [edi + 4]
lea eax, [esp + 0x18]
push dword [edi]
push str._lld
push eax
call fcn.10040490
add esp, 0x10
jmp 0x10064519
test al, 8
je 0x100643af
movsd xmm0, qword [edi]
lea eax, [esp + 0x14]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.10040490
add esp, 0x10
jmp 0x10064519
test al, 2
je 0x10064457
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + 0x42]
mov byte [esp + 0x40], al
cmp al, 1
je 0x10064426
xorps xmm0, xmm0
push 0
push dword [esp + 0x44]
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x58]
movdqa xmmword [esp + 0x58], xmm0
movdqa xmmword [esp + 0x68], xmm0
push dword [edi + 0xc]
mov edx, dword [edi + 0x10]
call fcn.1005c400
add esp, 0xc
test byte [esp + 0x58], 2
je 0x10064422
cmp byte [esp + 0x5a], 1
je 0x10064422
mov dl, 1
lea ecx, [esp + 0x50]
call fcn.10040850
cmp eax, 7
jne 0x10064422
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], 0
lea edi, [esp + 0x50]
push dword [edi + 0x10]
lea eax, [esp + 0x18]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.10040490
add esp, 0x10
cmp byte [esp + 0x40], 1
je 0x10064519
lea ecx, [esp + 0x50]
call fcn.1005bcf0
jmp 0x10064519
test eax, 0x4000
je 0x10064477
push dword [edi]
lea eax, [esp + 0x18]
push str.zeroblob__d_
push eax
call fcn.10040490
add esp, 0xc
jmp 0x10064519
mov edx, dword [esp + 0x20]
add edx, 2
cmp edx, dword [esp + 0x24]
jb 0x10064499
push 2
mov edx, 0x10117b10
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x100644ad
mov eax, dword [esp + 0x1c]
mov cx, word [0x10117b10]
mov dword [esp + 0x20], edx
mov word [edx + eax - 2], cx
mov eax, dword [edi + 0xc]
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x100644e5
mov esi, dword [esp + 0x34]
mov edi, edi
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + edi]
push eax
lea eax, [esp + 0x18]
push str._02x
push eax
call fcn.10040490
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x10]
jl 0x100644c0
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
cmp edx, dword [esp + 0x24]
jb 0x10064507
push 1
mov edx, 0x10117b1c
lea ecx, [esp + 0x18]
call fcn.1003ff30
add esp, 4
jmp 0x10064519
mov eax, dword [esp + 0x1c]
mov cl, byte [0x10117b1c]
mov dword [esp + 0x20], edx
mov byte [edx + eax - 1], cl
mov al, byte [esi]
test al, al
jne 0x10064245
cmp byte [esp + 0x2c], 0
je 0x10064533
lea ecx, [esp + 0x14]
call fcn.100400a0
cmp dword [esp + 0x1c], 0
je 0x10064571
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov byte [eax + ecx], 0
cmp dword [esp + 0x28], 0
jbe 0x10064571
test byte [esp + 0x2d], 4
jne 0x10064571
lea ecx, [esp + 0x14]
call fcn.10040020
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret