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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10019388
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1001e2c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10f4], 0
je 0x100063c3
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x14], 0
cmp eax, 4
ja case.0x100063d4.1
jmp dword [eax*4 + 0x10006968]
mov ecx, dword [ebx + 0x60]
lea eax, [ebx + 0x60]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100063e4
sub ecx, esi
sar ecx, 1
cmp ecx, dword [eax + 4]
jb 0x1000640f
push 0x1001ca50
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.The_string_has_no_terminating_null_character_
call fcn.1000cf14
mov esi, dword [ebp + 0x10]
test ecx, ecx
jne 0x10006423
mov edi, dword [esi + 4]
push 0xfde9
call fcn.10001820
cmp dword [ebx + 0x34], 0
je case.0x100063d4.1
lea eax, [esp + 0x40]
call fcn.100012a0
mov dword [esp + 0x78], 0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
push 0xfde9
lea eax, [esp + 0x44]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.10001820
mov cx, word [esi + 0x20]
mov edx, dword [ebx + 0x1104]
mov dword [esp + 0x38], eax
mov ax, word [esi + 0x1e]
mov word [esp + 0x3c], ax
push edx
lea eax, [esp + 0x34]
mov word [esp + 0x42], cx
mov ecx, dword [ebx + 0x34]
push eax
call ecx
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [esp + 0x48]
push edx
call fcn.1000a8ba
add esp, 0xc
jmp case.0x100063d4.1
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 4]
lea eax, [ebx + 0x60]
push 0xfde9
call fcn.10001820
mov eax, dword [esi + 0x24]
xor ecx, ecx
cmp eax, ecx
je 0x100064dc
mov dword [ebx + 0x10e4], eax
mov dword [ebx + 0x10e8], ecx
mov dword [ebx + 0x10ec], ecx
mov dword [esp + 0x14], 0xffffffff
jmp case.0x100063d4.1
cmp dword [ebx + 0x38], ecx
je case.0x100063d4.1
lea eax, [esp + 0x40]
call fcn.100012a0
mov dword [esp + 0x78], 1
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x30], eax
push 0xfde9
lea eax, [esp + 0x44]
mov dword [esp + 0x38], ecx
call fcn.10001820
mov dx, word [esi + 0x1e]
mov ecx, dword [ebx + 0x1104]
mov dword [esp + 0x38], eax
mov ax, word [esi + 0x20]
push ecx
mov ecx, dword [ebx + 0x38]
mov word [esp + 0x40], dx
mov edx, dword [esi + 0x24]
mov word [esp + 0x42], ax
push edx
lea eax, [esp + 0x38]
push eax
call ecx
mov dword [esp + 0x84], 0xffffffff
mov edx, dword [esp + 0x4c]
add esp, 0xc
push edx
jmp 0x10006946
lea eax, [esp + 0x30]
call fcn.100012a0
lea eax, [esp + 0x28]
mov dword [esp + 0x78], 2
call fcn.100012a0
lea eax, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.100012a0
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 4
call fcn.100012a0
lea eax, [esp + 0x40]
mov byte [esp + 0x78], 5
call fcn.100012a0
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x78], 6
test byte [ecx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x100065b5
mov eax, dword [ebx + 0x1100]
mov edi, dword [ecx + 4]
push eax
lea eax, [esp + 0x24]
call fcn.10001820
lea esi, [esp + 0x20]
call fcn.100016c0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, esi
push edx
call fcn.10001ab0
add esp, 0xc
lea edx, [ebx + 0x58]
lea eax, [esp + 0x18]
call fcn.10001500
lea ebx, [esp + 0x28]
lea eax, [esp + 0x18]
call fcn.10001600
lea edx, [esp + 0x18]
lea eax, [esp + 0x40]
call fcn.10001500
lea ebx, [esp + 0x30]
lea eax, [esp + 0x40]
call fcn.10001600
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x28], 0
mov esi, dword [esp + 0x40]
mov edi, dword [ebp + 0x10]
je 0x10006687
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi]
mov dword [esp + 0x50], edx
mov dx, word [edi + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
movzx ecx, word [edi + 0x1a]
lea eax, [esp + 0x60]
mov word [esp + 0x68], dx
movzx edx, word [edi + 0x18]
push eax
push ecx
push edx
mov dword [esp + 0x64], esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov eax, dword [ebx + 0x1104]
mov edx, dword [ebx + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
call edx
add esp, 8
test eax, eax
je 0x10006788
cmp dword [ebx + 0x10f8], 0
je 0x100066d0
mov edi, dword [edi]
lea esi, [ebx + 0x10c0]
call fcn.100018c0
mov edx, dword [ebx + 0x4c]
mov esi, 0xff000000
xor eax, eax
test edx, edx
jle 0x100066bc
mov ecx, dword [ebx + 0x50]
mov edi, edi
cmp dword [ecx], esi
je 0x100066c9
inc eax
add ecx, 4
cmp eax, edx
jl 0x100066b0
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x40]
jmp 0x10006788
test eax, eax
js 0x100066bc
inc esi
jmp 0x100066a5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10001910
add esp, 4
test eax, eax
je 0x10006754
or edi, 0xffffffff
push esi
mov dword [ebx + 0x10e4], 8
mov dword [ebx + 0x10e8], eax
mov dword [ebx + 0x10ec], 0
mov dword [esp + 0x18], edi
mov byte [esp + 0x7c], 5
call fcn.1000a8ba
mov byte [esp + 0x7c], 4
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.1000a8ba
mov byte [esp + 0x7c], 3
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.1000a8ba
mov byte [esp + 0x7c], 2
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.1000a8ba
mov dword [esp + 0x7c], edi
mov edx, dword [esp + 0x34]
add esp, 4
push edx
jmp 0x10006946
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push 0x180
push 0x8321
push esi
mov ecx, ebx
call edx
xor ecx, ecx
mov dword [esp + 0x14], eax
cmp eax, ecx
jg 0x100067de
mov dword [ebx + 0x10e4], 8
mov dword [ebx + 0x10e8], ecx
mov dword [ebx + 0x10ec], ecx
push esi
mov byte [esp + 0x7c], 5
call fcn.1000a8ba
mov byte [esp + 0x7c], 4
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call fcn.1000a8ba
mov byte [esp + 0x7c], 3
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.1000a8ba
mov byte [esp + 0x7c], 2
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.1000a8ba
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x34]
add esp, 4
push eax
jmp 0x10006946
mov edx, dword [ebx + 0xc]
xor eax, eax
mov word [edx], ax
mov edx, dword [ebx + 0x14]
mov word [edx], ax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], ecx
mov edx, dword [edi]
mov dword [ebx + 0x1c], edx
lea edx, [esp + 0x40]
lea eax, [ebx + 0x14]
call fcn.10001500
lea eax, [ebx + 0xc]
lea edx, [esp + 0x20]
call fcn.10001500
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10006788
mov ecx, dword [ebx + 0x14]
fldz
mov edx, dword [ebx + 0xc]
fstp dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x1104]
mov dword [esp + 0x54], edx
push ecx
lea edx, [esp + 0x4c]
push edx
call eax
add esp, 8
jmp 0x10006788
lea eax, [esp + 0x40]
call fcn.100012a0
lea eax, [esp + 0x30]
mov dword [esp + 0x78], 7
call fcn.100012a0
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x78], 8
test byte [ecx + 0x1c], 0x80
mov eax, 0xfde9
jne 0x10006898
mov eax, dword [ebx + 0x1100]
mov edi, dword [ecx + 4]
push eax
lea eax, [esp + 0x34]
call fcn.10001820
lea esi, [esp + 0x30]
call fcn.100016c0
lea edx, [ebx + 0x58]
lea eax, [esp + 0x40]
call fcn.10001500
mov ebx, esi
lea eax, [esp + 0x40]
call fcn.10001600
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10f8], 0
jne 0x100068f7
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0x14]
mov eax, esi
call fcn.100062f0
movzx ecx, word [edi + 0x1a]
movzx edx, word [edi + 0x18]
mov ax, word [edi + 0x1c]
mov ebx, dword [esp + 0x40]
push ecx
push edx
call fcn.10006a40
jmp 0x100068fb
mov ebx, dword [esp + 0x40]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10006923
cmp dword [esi + 0x10f8], 0
je 0x10006913
lea eax, [esi + 0x10c0]
jmp 0x10006915
xor eax, eax
mov edx, dword [esi + 0x1104]
push edx
push eax
push ebx
call ecx
add esp, 0xc
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x18], 1
call fcn.1000a8ba
add esp, 4
mov dword [esp + 0x78], 0xffffffff
push ebx
call fcn.1000a8ba
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc