Function at 0x407340
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5413e0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x594ca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.00417597
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407384
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], ebx
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4073af
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4073dc
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407409
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407436
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407463
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 5
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407490
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 6
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4074bd
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 7
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4074ea
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
push 4
push str.soft
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 4]
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 8]
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 0xc]
call fcn.004046e0
push 4
push str.1700
lea ecx, [esi + 0x10]
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], ebx
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 0x1c]
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], ebx
call fcn.004046e0
push ebx
push 0x5704e4
lea ecx, [esi + 0x28]
call fcn.004046e0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4