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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0ca9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0046b4f0
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f000
mov dword [ebp - 4], 0
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
push eax
call fcn.00492400
add esp, 0xc
push 2
mov edx, dword [ebp - 0x10]
add edx, 8
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 4
push eax
call fcn.00492400
add esp, 0xc
push 2
mov eax, dword [ebp - 0x10]
add eax, 0xa
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 6
push eax
call fcn.00492400
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 8
push eax
call fcn.00492400
add esp, 0xc
push 2
mov edx, dword [ebp - 0x10]
add edx, 0xe
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0xa
push eax
call fcn.00492400
add esp, 0xc
push 2
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0xc
push eax
call fcn.00492400
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x12
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0xe
push eax
call fcn.00492400
add esp, 0xc
push 4
mov edx, dword [ebp - 0x10]
add edx, 0x14
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x10
push eax
call fcn.00492400
add esp, 0xc
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x14
push eax
call fcn.00492400
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x18
push eax
call fcn.00492400
add esp, 0xc
push 2
mov edx, dword [ebp - 0x10]
add edx, 0x20
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x1c
push eax
call fcn.00492400
add esp, 0xc
push 2
mov eax, dword [ebp - 0x10]
add eax, 0x22
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x1e
push eax
call fcn.00492400
add esp, 0xc
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x20
push eax
call fcn.00492400
add esp, 0xc
push 2
mov edx, dword [ebp - 0x10]
add edx, 0x26
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x22
push eax
call fcn.00492400
add esp, 0xc
push 2
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x24
push eax
call fcn.00492400
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x26
push eax
call fcn.00492400
add esp, 0xc
push 4
mov edx, dword [ebp - 0x10]
add edx, 0x30
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x2a
push eax
call fcn.00492400
add esp, 0xc
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x20]
mov esi, ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00574460
cmp esi, eax
je 0x46ac50
movsx edx, word [0x6f7454]
add edx, 0x15
push edx
push str.C:UpAgentZipFileHeader.cpp
call fcn.00577e00
test eax, eax
je 0x46ac50
int3
xor eax, eax
test eax, eax
jne 0x46ac1c
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x22]
mov esi, edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0046f0e0
cmp esi, eax
je 0x46ac8a
movsx eax, word [0x6f7454]
add eax, 0x16
push eax
push str.C:UpAgentZipFileHeader.cpp
call fcn.00577e00
test eax, eax
je 0x46ac8a
int3
xor ecx, ecx
test ecx, ecx
jne 0x46ac56
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 0x24]
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00574460
cmp esi, eax
je 0x46acc4
movsx ecx, word [0x6f7454]
add ecx, 0x17
push ecx
push str.C:UpAgentZipFileHeader.cpp
call fcn.00577e00
test eax, eax
je 0x46acc4
int3
xor edx, edx
test edx, edx
jne 0x46ac90
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.005744aa
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
add eax, 0x2e
push eax
call fcn.00492400
add esp, 0xc
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 0x22]
test eax, eax
je 0x46ad35
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.0046f230
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x20]
lea eax, [eax + edx + 0x2e]
push eax
call fcn.00492400
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 0x24]
test edx, edx
je 0x46ad81
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.005744aa
push eax
lea ecx, [ebp - 0x20]
call fcn.0046f230
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [edx + 0x20]
lea edx, [eax + ecx + 0x2e]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x22]
add edx, ecx
push edx
call fcn.00492400
add esp, 0xc
push 1
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.0046f230
push eax
mov ecx, dword [ebp + 8]
call fcn.0046c980
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0046f060
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret 4