Function at 0x10006280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1007a200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 7
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
cmp eax, ebx
jne 0x10006301
lea ecx, [ebp - 0x74]
call fcn.100484d2
push 0x10074234
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x74], vtable.Poco::NullPointerException.0
call fcn.1004af94
cmp byte [eax + 4], 0
jne 0x10006394
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov eax, edx
mov dword [ebp - 0x34], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 4
push edi
call fcn.10006f90
cmp dword [ebp - 0x14], 8
jb 0x10006343
mov edx, dword [ebp - 0x28]
push edx
call fcn.10047382
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
xor eax, eax
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10006792
mov eax, dword [ebp + 0xc]
mov esi, eax
cmp eax, ebx
je 0x10006380
push eax
call fcn.10004470
push esi
call fcn.10047382
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov dword [ebp + 0xc], ebx
call fcn.10047382
add esp, 4
jmp 0x10006792
cmp dword [eax + 0x84], 6
jge 0x100063dd
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, ecx
mov dword [ebp - 0x34], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 0xf
push edi
call fcn.10006f90
cmp dword [ebp - 0x14], 8
jb 0x100063d5
mov eax, dword [ebp - 0x28]
push eax
call fcn.10047382
add esp, 4
mov dword [ebp - 0x14], esi
jmp 0x1000677a
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x9c]
lea ecx, [ebp - 0x2c]
call fcn.100024e0
lea eax, [ebp + 8]
call fcn.10008900
add eax, 0xc
lea esi, [ebp - 0x60]
call fcn.10004320
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10009510
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
jb 0x10006428
mov edx, dword [ebp - 0x5c]
push edx
call fcn.10047382
add esp, 4
lea eax, [ebp + 8]
call fcn.10008900
mov esi, dword [eax + 0x84]
lea eax, [ebp + 8]
call fcn.10008900
mov eax, dword [eax + 0x80]
cmp esi, 0x40
jb 0x100064b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100064b2
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp edx, esi
ja 0x100064b2
cmp dword [ecx + eax], 0x4550
sete al
mov byte [ebp - 0x2e], al
test al, al
je 0x100064b6
xor esi, esi
lea eax, [ebp + 8]
mov dword [ebp - 0x34], esi
call fcn.10008900
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 8]
call fcn.10008900
mov ecx, dword [eax + 0x84]
push ecx
push ecx
lea eax, [ebp + 8]
call fcn.10008900
mov ecx, dword [eax + 0x80]
add esp, 4
call fcn.10021220
add esp, 4
jmp 0x100064eb
mov byte [ebp - 0x2e], 0
lea edx, [ebp - 0x40]
push edx
push ecx
lea eax, [ebp + 8]
call fcn.10008900
mov esi, eax
lea eax, [ebp + 8]
call fcn.10008900
mov eax, dword [eax + 0x80]
mov edx, dword [esi + 0x84]
add esp, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.10021350
mov esi, dword [ebp - 0x34]
add esp, 8
test al, al
setne al
test al, al
jne 0x10006555
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, ecx
mov dword [ebp - 0x34], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 5
push edi
call fcn.10006f90
cmp dword [ebp - 0x14], 8
jb 0x1000652c
mov eax, dword [ebp - 0x28]
push eax
call fcn.10047382
add esp, 4
xor ecx, ecx
lea esi, [ebp + 8]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 0xffffffff
call fcn.100088c0
mov eax, 1
jmp 0x10006794
lea eax, [ebp + 8]
mov byte [ebp - 0x2d], 0
call fcn.10008900
cmp byte [eax + 6], 0
je 0x1000660f
lea eax, [ebp + 8]
call fcn.10008900
mov ebx, eax
lea eax, [ebp + 8]
call fcn.10008900
mov edx, dword [eax + 0x80]
mov ebx, dword [ebx + 0x84]
push edx
lea eax, [ebp - 0x2c]
call fcn.10007b00
test eax, eax
je 0x1000660b
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, ecx
mov dword [ebp - 0x44], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 6
push edi
call fcn.10006f90
cmp byte [ebp - 0x2e], 0
jne 0x100065ea
sub esp, 8
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x44], esp
call fcn.100088a0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x2d]
push eax
push ecx
push edx
push edi
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x38]
call fcn.10006a00
lea esi, [ebp - 0x2c]
call fcn.100156e0
lea esi, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.100088c0
mov eax, 1
jmp 0x10006794
mov byte [ebp - 0x2d], 1
lea eax, [ebp + 8]
call fcn.10008900
cmp byte [eax + 5], 0
je 0x1000664b
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, ecx
mov dword [ebp - 0x44], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x3c]
mov edx, esi
call fcn.100067c0
cmp byte [ebp - 0x2e], 0
jne 0x10006682
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov eax, edx
mov dword [ebp - 0x44], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2d]
push edx
push eax
push esi
push edi
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x38]
call fcn.10006a00
lea eax, [ebp + 8]
call fcn.10008900
mov ebx, dword [eax + 0xb8]
add eax, 0xb8
lea eax, [ebp + 8]
call fcn.10008900
add eax, 0xc
push eax
lea esi, [ebp - 0x60]
call fcn.10004380
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28]
mov ecx, 8
cmp dword [ebp - 0x14], ecx
jae 0x100066bd
lea edx, [ebp - 0x28]
mov dword [ebp - 0x34], edx
cmp dword [eax + 0x18], ecx
jb 0x100066ca
mov eax, dword [eax + 4]
jmp 0x100066cd
add eax, 4
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push esi
push ecx
mov ecx, dword [ebp - 0x34]
push ecx
push eax
push 1
mov ecx, ebx
call edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
jb 0x100066fb
mov eax, dword [ebp - 0x5c]
push eax
call fcn.10047382
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], cx
cmp esi, ebx
jne 0x10006716
cmp dword [ebp - 0x38], ebx
je 0x1000673f
lea eax, [ebp + 8]
call fcn.10008900
mov dword [eax + 0x80], ebx
cmp esi, ebx
je 0x10006730
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x1000673f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, ecx
mov dword [ebp - 0x44], esp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
call fcn.100078b0
cmp dword [ebp - 0x14], 8
jb 0x10006773
mov eax, dword [ebp - 0x28]
push eax
call fcn.10047382
add esp, 4
mov dword [ebp - 0x14], 7
xor ecx, ecx
lea esi, [ebp + 8]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 0xffffffff
call fcn.100088c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004738d
mov esp, ebp
pop ebp
ret 8