Function at 0x10007360
Capabilities:
Terminate process

Disassembly:
sub esp, 0x22c
mov eax, dword [0x100dd9d4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor ebp, ebp
cmp edi, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov eax, edi
je 0x100075e4
mov ecx, dword [eax]
cmp dword [ecx + 0x150], 4
jne 0x1000739d
mov ebp, ecx
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x10007390
cmp ebp, ebx
je 0x100075e4
mov eax, ebp
mov esi, 5
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
jmp 0x100073c0
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf0]
push ecx
push eax
push 0x200
lea ecx, [esp + 0x3c]
push ecx
push edx
mov edx, dword [edx + 0x134]
call edx
add esp, 0x14
cmp eax, 0x200
jne 0x100075e4
cmp byte [esp + 0x22e], 0x55
jne 0x100075e4
cmp byte [esp + 0x22f], 0xaa
jne 0x100075e4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ebx, [esp + 0x1ee]
mov dword [esp + 0x1c], ebx
mov edi, edi
cmp byte [ebx + 4], 0
je 0x1000759d
push 0x160
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x100075d8
push 0x160
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x100ddb08
mov eax, edi
call fcn.10003220
mov dword [edi + 0x154], esi
movzx eax, byte [ebx + 4]
add esp, 4
cmp eax, 0xf
je 0x10007488
cmp eax, 5
je 0x10007488
cmp eax, 0x85
jne 0x10007530
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x240]
mov edx, dword [ebp + 0xf4]
push eax
mov eax, dword [ebp + 0xf0]
push ecx
push esi
push 5
push edx
push eax
mov eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], edi
call fcn.10008d40
mov ecx, dword [edi + 0xf4]
mov esi, dword [ebp + 0xf4]
mov eax, dword [edi + 0xf0]
mov edx, dword [ebp + 0xf0]
add esp, 0x18
cmp ecx, esi
jb 0x1000756a
ja 0x100074e5
cmp eax, edx
jbe 0x1000756a
mov edx, dword [edi + 0xf8]
mov ebx, dword [ebp + 0xf8]
add edx, eax
mov eax, dword [edi + 0xfc]
adc eax, ecx
mov ecx, dword [ebp + 0xfc]
add edx, 0xffffffff
adc eax, 0xffffffff
add ebx, dword [ebp + 0xf0]
adc ecx, esi
add ebx, 0xffffffff
adc ecx, 0xffffffff
cmp eax, ecx
ja 0x1000756a
jb 0x1000751f
cmp edx, ebx
ja 0x1000756a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000756a
mov eax, dword [eax + 8]
test eax, eax
jne 0x10007527
jmp 0x1000756a
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 0xf4]
push edx
mov edx, dword [eax + 0xf0]
push esi
push 3
push ecx
mov eax, ebx
mov ebx, dword [esp + 0x28]
push edx
call fcn.10008d40
add esp, 0x18
add esi, 1
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push 0
push ecx
mov esi, edi
call fcn.10002f00
add esp, 0xc
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
jle 0x10007595
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add eax, 1
add ebx, 0x10
cmp eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
jb 0x10007420
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x18], eax
je 0x100075e0
cmp esi, 0x1e
jae 0x100075e0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ebx, ebx
jmp 0x100073c0
push 1
call dword [sym.imp.MSVCR80.dll_exit]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10059076
add esp, 0x22c
ret