Function at 0x4aeb20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af431
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x10]
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], edx
cmp edx, 0xffffffff
jne 0x4aeb6e
mov ebx, dword [eax + 0x18]
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x4aef69
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0x64], xmm0
test ebx, ebx
je 0x4aec57
cmp edx, 0xffffffff
jne 0x4aeba8
mov edi, dword [eax + 0x14]
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov eax, dword [edi + ecx*4]
add esi, dword [eax]
adc edx, dword [eax + 4]
inc ecx
cmp ecx, ebx
jb 0x4aeb96
jmp 0x4aec5d
movlpd qword [ebp - 0x5c], xmm0
xor ecx, ecx
mov edi, dword [ebp - 0x58]
cmp ebx, 2
mov ebx, dword [ebp - 0x5c]
movlpd qword [ebp - 0x90], xmm0
jb 0x4aec25
mov edx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x20], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov esi, dword [ebp - 0x20]
mov eax, dword [edx + eax*4]
add ebx, dword [eax]
adc edi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4 + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x40]
add esi, dword [eax]
mov dword [ebp - 0x20], esi
adc edx, dword [eax + 4]
add ecx, 2
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp - 0x40], edx
cmp ecx, eax
jb 0x4aebd4
cmp ecx, dword [ebp + 0x10]
jb 0x4aec37
add ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x64]
adc edi, dword [ebp - 0x40]
add esi, ebx
mov edx, dword [ebp - 0x60]
adc edx, edi
jmp 0x4aec5d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add ebx, dword [ebp - 0x20]
adc edi, dword [ebp - 0x40]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov edx, dword [eax + 4]
add esi, ebx
adc edx, edi
jmp 0x4aec5d
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp + 0x18]
push edx
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x4aef6b
push 0x4080
call fcn.005938b4
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x4aec8e
mov dword [ebp - 0xac], eax
jmp 0x4afc48
lea eax, [ecx + 0x80]
and eax, 0xffffff80
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xac], eax
mov dword [eax - 4], ecx
je 0x4afc48
push 0x4000
push 0
push eax
call fcn.0058ad30
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], ebx
push 0x28
mov byte [ebp - 4], 2
call fcn.00587dd8
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xb8], esi
mov dword [esi + 0x14], ebx
mov dword [esi], vtable.NCompress::CCopyCoder.1.0
mov dword [esi + 4], vtable.NCompress::CCopyCoder.3.0
mov dword [esi + 8], vtable.NCompress::CCopyCoder.2.0
mov dword [esi + 0xc], vtable.NCompress::CCopyCoder.4.0
mov dword [esi + 0x10], vtable.NCompress::CCopyCoder.0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [0x5ca750]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00438ed0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4aed39
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x10], ebx
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4aed4f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov dword [edi + 0xc], edx
mov byte [ebp - 4], 5
mov eax, dword [edx]
mov ecx, dword [eax]
lea eax, [edi + 0x10]
push eax
push 0x5c1f34
push edx
call ecx
mov byte [ebp - 4], 4
push 0x28
mov byte [edi + 0xa], 0
call fcn.00587dd8
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xbc], edi
mov dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
push edi
mov dword [edi + 8], 0
call dword [0x5cb568]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x4aedb8
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4aedc5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [edi + 8], eax
xor eax, eax
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x58]
movlpd qword [ebp - 0x64], xmm0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebp - 0x78]
push 0
push 0
mov dword [eax + 0x20], ebx
mov ebx, dword [ebp - 0x7c]
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x80], ecx
movlpd qword [ebp - 0x64], xmm0
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
push dword [ebp - 0x14]
movlpd qword [ebp - 0x90], xmm0
call fcn.00558180
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4aeed7
mov byte [ebp - 4], 7
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.004b0980
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4aee7f
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4aee90
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4aeea1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4aeeb2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x28]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp + 0x10]
jb 0x4aef7f
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0xf
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.004b0980
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4aef28
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4aef39
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4aef4a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4aef5b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 0x14], ecx
mov byte [ebp - 4], 0x13
setne cl
cmp dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0x84], ecx
jne 0x4aefa7
mov edx, eax
mov dword [ebp - 0x34], eax
jmp 0x4aefb0
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov eax, dword [eax]
push edx
push dword [ebp + 0x18]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4af02b
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4aefd9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x15
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x17
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.004afc70
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4af014
push dword [eax - 4]
call fcn.0058e23f
add esp, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
jne 0x4af08d
cmp dword [ebp - 0x2c], 0
jne 0x4af08d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
inc dword [ebp - 0x98]
mov eax, dword [ebp - 0xa4]
add dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xa8]
adc dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
adc ecx, dword [ebp - 0x28]
jmp 0x4aedf2
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0x84]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4af195
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4af0b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x1a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x1c
mov eax, dword [esi]
push esi
call dword [eax + 8]
test ebx, ebx
je 0x4af124
mov byte [ebp - 4], 0x1d
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4af0f8
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x1e
mov eax, dword [ebx]
test eax, eax
je 0x4af113
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4af13d
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4af14e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4af15f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4af170
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x28]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x40], eax
cmp byte [eax + 0x44], 0
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
jne 0x4af1d6
mov dword [ebp - 0x24], 8
jmp 0x4afb23
push 0x20
call fcn.00587dd8
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x8c], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.COutStreamWithCRC.0
push esi
mov dword [esi + 8], 0
call dword [0x5cb774]
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4af21d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4af22a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x54], 2
jne 0x4af243
cmp dword [eax + 0x58], 0x20
jne 0x4af243
mov al, 1
jmp 0x4af245
xor al, al
push 0x20
mov byte [ebp - 0x15], al
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x1c], al
mov dword [esi + 0x18], 0xffffffff
call fcn.00587dd8
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x60], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CLimitedSequentialOutStream.0
push esi
mov dword [esi + 8], 0
call dword [0x5cc810]
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4af2a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
xor edx, edx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x38]
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [esi + 8], eax
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
cmp edx, dword [ecx + 0xc]
jae 0x4afae5
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x9c]
add edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x94]
adc ecx, dword [ebp - 0x7c]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x88]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x70]
adc ecx, dword [ebp - 0x80]
push 0
mov dword [eax + 0x28], edx
push 0
mov dword [eax + 0x2c], ecx
push dword [ebp - 0x14]
call fcn.00558180
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4af444
mov byte [ebp - 4], 0x24
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4af364
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x27
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4af3d3
mov byte [ebp - 4], 0x2a
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4af3a7
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x2b
mov eax, dword [ebx]
test eax, eax
je 0x4af3c2
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4af3ec
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4af3fd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4af40e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4af41f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x74]
shl ecx, 5
mov dword [ebp - 0x34], ecx
mov eax, dword [edx + 8]
add eax, ecx
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
add ecx, dword [eax + 0x18]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x94]
adc ecx, dword [eax + 0x1c]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x6c]
cmp dword [eax + 8], ecx
jne 0x4afad5
mov ecx, dword [ebp - 0x70]
cmp dword [eax + 0xc], ecx
jne 0x4afad5
mov ecx, dword [eax + 0x10]
add ecx, dword [edx + 0x20]
mov eax, dword [eax + 0x14]
adc eax, dword [edx + 0x24]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x40]
adc eax, dword [edx + 0x44]
add ecx, dword [edx + 0x20]
adc eax, dword [edx + 0x24]
push eax
push ecx
mov ecx, dword [edx + 0x10]
call fcn.00430da0
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4af5c9
mov byte [ebp - 4], 0x2f
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x31
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4af4e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x32
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4af558
mov byte [ebp - 4], 0x35
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4af52c
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x36
mov eax, dword [ebx]
test eax, eax
je 0x4af547
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4af571
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4af582
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x38
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4af593
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x39
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4af5a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov eax, dword [ebx + 0xc]
dec eax
cmp dword [ebp - 0x74], eax
jne 0x4af600
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
jmp 0x4af60b
mov eax, dword [ebx + 8]
mov ecx, dword [edx + eax + 0x28]
mov eax, dword [edx + eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x34]
sub ecx, dword [edx + eax + 8]
mov edx, dword [ebp - 0x3c]
sbb edx, dword [ebx + eax + 0xc]
cmp byte [ebp - 0x15], 0
mov eax, edx
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x68]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov word [esi + 0x18], 0
je 0x4af64b
cmp dword [edx], 2
je 0x4af64b
mov cl, 1
jmp 0x4af64d
xor cl, cl
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1c], cl
mov ecx, dword [edx]
test ecx, 0xfffffffd
jne 0x4af675
mov ecx, dword [edx + 0x18]
or ecx, dword [edx + 0x1c]
je 0x4af7f9
mov dword [ebp - 0x24], 1
jmp 0x4af7f9
cmp ecx, 1
jne 0x4af69e
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [edx + 0x18]
jne 0x4af669
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [edx + 0x1c]
jne 0x4af669
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push 0
push 0
push esi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
jmp 0x4af6b3
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
push edx
push esi
push edi
lea ecx, [ebp - 0x54]
call fcn.004ae880
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4af7f3
cmp eax, 1
je 0x4af7e3
cmp eax, 0x80004001
je 0x4af7da
mov byte [ebp - 4], 0x3a
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x3b
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4af6fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x3f
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4af769
mov byte [ebp - 4], 0x40
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4af73d
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x41
mov eax, dword [ebx]
test eax, eax
je 0x4af758
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4af782
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x42
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4af793
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4af7a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x44
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4af7b5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0x24], 1
jmp 0x4af7f3
mov eax, dword [ebp - 0x24]
mov ecx, 2
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x70]
adc ecx, dword [ebp - 0x58]
mov dword [ebp - 0x70], ecx
mov ecx, dword [esi + 0x10]
or ecx, dword [esi + 0x14]
jne 0x4af81c
cmp byte [esi + 0x18], cl
je 0x4afacc
test dword [edx], 0xfffffffd
je 0x4af834
mov eax, dword [ebp - 0x24]
mov ecx, 2
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
nop dword [eax + eax]
mov ecx, dword [esi + 0x10]
mov eax, ecx
mov edx, dword [esi + 0x14]
or eax, edx
je 0x4afac9
mov eax, 0x4000
test edx, edx
ja 0x4af861
jb 0x4af85f
cmp ecx, eax
jae 0x4af861
mov eax, ecx
mov edx, dword [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00558f70
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4af9c1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
test eax, 0xfff
jne 0x4af840
mov edx, dword [ebp - 0x6c]
sub edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x70]
sbb ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x14]
add edx, dword [ebp - 0x88]
push 0
adc ecx, dword [ebp - 0x80]
mov dword [eax + 0x28], edx
push 0
mov dword [eax + 0x2c], ecx
push dword [ebp - 0x14]
call fcn.00558180
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4af840
mov byte [ebp - 4], 0x50
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x51
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x52
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4af8e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x53
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x54
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x55
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4af950
mov byte [ebp - 4], 0x56
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4af924
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x57
mov eax, dword [ebx]
test eax, eax
je 0x4af93f
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4af969
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x58
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4af97a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x59
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4af98b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x5a
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4af99c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov byte [ebp - 4], 0x45
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x46
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x47
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4af9e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x48
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x4a
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x4afa58
mov byte [ebp - 4], 0x4b
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4afa2c
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x4c
mov eax, dword [ebx]
test eax, eax
je 0x4afa47
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4afa71
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x4d
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4afa82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x4e
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4afa93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4afaa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x74]
inc edx
jmp 0x4af2e3
mov eax, dword [ebp - 0x1c]
mov edx, 8
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
jmp 0x4afae8
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x15], 0
je 0x4afb09
test edx, edx
jne 0x4afb09
mov eax, dword [eax + 0x18]
mov ecx, dword [ecx + 0x5c]
not eax
bswap ecx
cmp eax, ecx
mov eax, 3
cmovne edx, eax
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0x5b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x5c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 0x5d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4afb34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x24]
push ecx
push edx
mov eax, dword [edx]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4af05e
mov byte [ebp - 4], 0x5e
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov byte [ebp - 4], 0x5f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x60
mov eax, dword [esi]
push esi
call dword [eax + 8]
test ebx, ebx
je 0x4afbb8
mov byte [ebp - 4], 0x61
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4afb8c
push 0x8000
push 0
push eax
call esi
mov dword [ebx + 0x30], 0
mov byte [ebp - 4], 0x62
mov eax, dword [ebx]
test eax, eax
je 0x4afba7
push 0x8000
push 0
push eax
call esi
push 0x50
push ebx
mov dword [ebx], 0
call fcn.00587dca
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4afbd1
mov ecx, esi
call fcn.004aaa90
push 0x60
push esi
call fcn.00587dca
add esp, 8
mov byte [ebp - 4], 0x63
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4afbe2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x64
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4afbf3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x65
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4afc04
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push dword [eax - 4]
call fcn.0058e23f
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x5f79a8
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 1
push eax
call fcn.0058acc1
int3