Function at 0x46a580
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0c89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x68]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
push 0
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.0046f000
mov dword [ebp - 4], 0
push 1
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.0046f230
push eax
mov ecx, dword [ebp + 8]
call fcn.0046b790
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
push eax
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 6
push eax
mov edx, dword [ebp - 0x10]
add edx, 0xa
push edx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0xa
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xe
push ecx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0xc
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x10
push edx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0xe
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x12
push eax
call fcn.00492400
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
push ecx
call fcn.00492400
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x14
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x18
push edx
call fcn.00492400
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x18
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
push ecx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x1e
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x22
push edx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x20
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x24
push eax
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x22
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x26
push ecx
call fcn.00492400
add esp, 0xc
push 2
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x24
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x28
push edx
call fcn.00492400
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x26
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
call fcn.00492400
add esp, 0xc
push 4
lea ecx, [ebp - 0x1c]
call fcn.0046f230
add eax, 0x2a
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
push ecx
call fcn.00492400
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0046f110
push 4
push 0x6f7448
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call fcn.004940b0
add esp, 0xc
test eax, eax
je 0x46a801
mov byte [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0046f060
mov al, byte [ebp - 0x24]
jmp 0x46a95e
mov ecx, dword [ebp + 8]
call fcn.0046bd70
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x20]
mov esi, esp
push ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0051c278
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call dword [eax + 0x3c]
cmp esi, esp
call fcn.00491c30
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0051c3b3
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x22]
test ecx, ecx
je 0x46a8df
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0046f0a0
and eax, 0xff
test eax, eax
je 0x46a894
movsx edx, word [0x6f7450]
add edx, 0x1e
push edx
push str.C:UpAgentZipFileHeader.cpp
call fcn.00577e00
test eax, eax
je 0x46a894
int3
xor eax, eax
test eax, eax
jne 0x46a866
push 0
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x22]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0046f170
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x22]
mov esi, esp
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0046f230
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call dword [eax + 0x3c]
cmp esi, esp
call fcn.00491c30
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x24]
test edx, edx
je 0x46a939
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x24]
mov esi, esp
push ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0051c278
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call dword [eax + 0x3c]
cmp esi, esp
call fcn.00491c30
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x24]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0051c3b3
mov ecx, dword [ebp + 8]
call fcn.0046bd70
xor ecx, ecx
cmp eax, dword [ebp - 0x20]
sete cl
mov byte [ebp - 0x28], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0046f060
mov al, byte [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret 4