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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10072404
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
sub esp, 8
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.10003b60
push 0x70
mov dword [esp + 0x84], 0
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x80], 1
test eax, eax
je 0x10003788
mov ecx, eax
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
call fcn.100517f0
mov ebx, eax
mov dword [esp + 0x1c], eax
jmp 0x1000378e
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
push 0xfde9
lea edx, [edi + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 2
call fcn.10053260
add esp, 4
mov byte [esp + 0x80], 3
cmp dword [eax + 0x14], 0x10
jb 0x100037be
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.100518e0
mov byte [esp + 0x80], 2
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x17], al
jb 0x100037eb
push dword [esp + 0x34]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x100038ea
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x100038ea
mov edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jne 0x10003817
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x10003800
jmp 0x100038ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
je 0x100038ea
push str.item
mov ecx, eax
call fcn.100012c0
mov edi, eax
test edi, edi
je 0x100038e6
mov ebx, dword [esp + 0x18]
push 0x1007d040
lea ecx, [edi + 0x40]
mov dword [esp + 0x50], 0xffffffff
call fcn.100529b0
test eax, eax
je 0x100038cc
add eax, 0x2c
cmp dword [eax + 0x14], 0x10
jb 0x10003864
mov eax, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
push 0x1007d220
push eax
call dword [sym.imp.MSVCR110.dll_sscanf_s]
add esp, 0xc
cmp eax, 1
jne 0x100038cc
cmp dword [esp + 0x4c], 0xffffffff
je 0x100038cc
lea eax, [ebx + 0x1c]
mov dword [esp + 0x20], eax
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x24], 1
mov byte [esp + 0x80], 4
movzx eax, byte [0x100a3015]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
call fcn.10004290
mov byte [esp + 0x80], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.item
mov ecx, edi
call fcn.10050ee0
mov edi, eax
test edi, edi
jne 0x10003840
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
lea eax, [edi + 0x1c]
mov dword [esp + 0x20], eax
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x24], 1
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x38]
mov byte [esp + 0x84], 5
call fcn.10003cf0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x80], 0
test ebx, ebx
je 0x10003930
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
lea ecx, [esp + 0x50]
call fcn.100039b0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret