Function at 0x458620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d86d0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
lea eax, [esi + 0x70]
push str.____________________Entrance____________________
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], str.SetName
call fcn.00471a00
add esp, 0xc
mov dword [esp + 0x48], 0
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
add esi, 0x20
mov byte [esp + 0x48], 1
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x20], esi
call fcn.00408230
add eax, 0x10
mov dword [esp + 0x14], eax
lea edx, [esp + 0x1c]
mov byte [esp + 0x48], 2
mov ecx, dword [esi]
push edx
call fcn.00405a00
lea esi, [esp + 0x1c]
mov byte [esp + 0x48], 3
call fcn.0044de50
mov eax, esi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x4efc7c
call fcn.00439b90
mov edx, dword [ebp + 8]
push edx
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
mov byte [esp + 0x58], 4
call fcn.00439ad0
add esp, 0x10
lea edi, [esp + 0x18]
mov byte [esp + 0x48], 5
call fcn.004082a0
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.004082a0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push ecx
push str.SetOutputFile__s_
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.004719c0
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x30]
add esp, 0x10
cmp eax, 6
jne 0x4587dd
lea edi, [esi + 0x24]
lea eax, [esp + 0x14]
call fcn.004082a0
mov ecx, dword [esp + 0x14]
push ecx
push str.SetTempFilename__s_
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.004719c0
add esp, 0x10
push esi
call fcn.0045a230
test al, al
jne 0x4587dd
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x14]
call fcn.004082a0
mov eax, dword [esp + 0x14]
push eax
push str.SetOutputFile__s_
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.004719c0
add esp, 0x10
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45884c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4