Function at 0x10001f50
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x264
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
mov ebp, edx
push edi
mov edi, ecx
test ebp, ebp
je 0x10001f77
mov dword [ebp + 4], 0
mov eax, dword [edi]
xorps xmm0, xmm0
push 0
push 0
push 0
movlpd qword [esp + 0x1c], xmm0
call dword [eax + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0xb8]
push 0x40
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
mov eax, 0x5a4d
cmp word [esp + 0xb8], ax
jne 0x1000252b
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x10002523
js 0x10002523
mov esi, dword [edi]
mov ecx, edi
cdq
mov ebx, eax
mov dword [esp + 0x24], edx
mov esi, dword [esi + 0x28]
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, edx
jg 0x10002523
jl 0x10001ff2
cmp ebx, eax
ja 0x10002523
mov eax, dword [edi]
push 0
push ecx
push ebx
mov eax, dword [eax + 0x20]
mov ecx, edi
call eax
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0xf4]
cdq
cmp ecx, eax
jne 0x1000252b
cmp esi, edx
jne 0x1000252b
mov eax, dword [edi]
lea ecx, [esp + 0x60]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
cmp dword [esp + 0x60], 0x4550
jne 0x10002523
mov eax, dword [edi]
lea ecx, [esp + 0x84]
push 0x14
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push 2
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
mov ax, word [esp + 0x2c]
mov ecx, 0x10b
xor esi, esi
cmp ax, cx
jne 0x10002086
mov ecx, 0xde
jmp 0x1000209e
mov ecx, 0x20b
cmp ax, cx
jne 0x1000252b
mov ecx, 0xee
mov esi, 1
push ecx
mov word [esp + 0xfc], ax
lea ecx, [esp + 0xfe]
mov eax, dword [edi]
xor ebx, ebx
push ecx
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
mov eax, dword [esp + 0x168]
test esi, esi
cmovne eax, dword [esp + 0x178]
xor esi, esi
mov dword [esp + 0x1c], eax
xor eax, eax
cmp ax, word [esp + 0x86]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
jae 0x100022c8
nop
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push 0x28
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x1000252b
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x10002160
mov eax, dword [esp + 0x4c]
add eax, ecx
xor ecx, ecx
cmp ecx, dword [esp + 0x18]
jl 0x10002160
jg 0x10002134
cmp eax, dword [esp + 0x10]
jbe 0x10002160
push 8
lea eax, [esp + 0x3c]
push str._winzip_
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x10002160
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
test ebx, ebx
jne 0x1000218c
push 8
lea eax, [esp + 0x3c]
push str..rsrc
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
jne 0x1000218c
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
test ebp, ebp
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str..text
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push 0x1016bdec
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push 0x1016bdf4
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str..reloc
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push 0x1016be04
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str..idata
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str..rsrc
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str.UPX0
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str.UPX1
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push str..CRT
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
push 8
lea eax, [esp + 0x3c]
push 0x1016be2c
push eax
call fcn.1014c3c0
add esp, 0xc
test eax, eax
je 0x100022b7
mov eax, dword [esp + 0x4c]
mov dword [ebp + 8], eax
movzx eax, word [esp + 0x86]
inc esi
cmp esi, eax
jl 0x10002100
test ebp, ebp
je 0x10002519
test ebx, ebx
je 0x10002519
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push ebx
call dword [eax + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push 0x10
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
js 0x10002519
xor eax, eax
xor ebx, ebx
cmp ax, word [esp + 0x70]
jae 0x1000233b
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 8
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
sub esi, 8
js 0x10002519
movzx eax, word [esp + 0x70]
inc ebx
cmp ebx, eax
jl 0x10002312
xor eax, eax
xor ebx, ebx
cmp ax, word [esp + 0x72]
jae 0x10002519
nop word [eax + eax]
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 8
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
sub esi, 8
js 0x10002519
cmp word [esp + 0x30], 0xa
je 0x1000238e
movzx eax, word [esp + 0x72]
inc ebx
cmp ebx, eax
jl 0x10002350
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
jmp 0x10002530
mov eax, dword [esp + 0x34]
and eax, 0x7fffffff
je 0x10002519
mov edx, dword [edi]
mov ecx, edi
mov ebx, dword [esp + 0x24]
add eax, ebx
push 0
push 0
push eax
call dword [edx + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push 0x10
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
movzx ecx, word [esp + 0x80]
xor esi, esi
movzx eax, word [esp + 0x82]
add eax, ecx
mov dword [esp + 0x24], eax
je 0x10002519
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 8
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
mov ecx, dword [esp + 0x34]
test ecx, ecx
jns 0x10002519
mov edx, dword [esp + 0x30]
test edx, edx
jns 0x10002487
mov eax, dword [edi]
and edx, 0x7fffffff
push 0
add edx, ebx
mov ecx, edi
push 0
push edx
call dword [eax + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push 2
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
mov eax, dword [esp + 0x20]
mov ecx, 0x3f
mov edx, dword [edi]
cmp cx, ax
cmovb eax, ecx
mov ecx, edi
mov dword [esp + 0x20], eax
movzx eax, ax
add eax, eax
push eax
lea eax, [esp + 0x1ec]
push eax
call dword [edx + 0x18]
test eax, eax
je 0x10002519
movzx eax, word [esp + 0x20]
add eax, eax
cmp eax, 0x80
jae 0x10002549
xor ecx, ecx
mov word [esp + eax + 0x1e8], cx
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
and ecx, 0x7fffffff
push 0
add ecx, ebx
push 0
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0x98]
push 0x10
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
cmp word [esp + 0xa6], 0
jne 0x100024d0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x100023e3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
jmp 0x10002530
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push 8
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
mov eax, dword [esp + 0x28]
mov ecx, edi
mov edx, dword [edi]
add eax, ebx
push 0
push 0
push eax
call dword [edx + 0x20]
mov eax, dword [edi]
lea ecx, [esp + 0xa8]
push 0x10
push ecx
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x10002519
mov ecx, dword [esp + 0xa8]
sub ecx, dword [esp + 0x1c]
add ecx, ebx
mov dword [ebp + 4], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
jmp 0x10002530
test ebp, ebp
je 0x1000252b
mov byte [ebp], 1
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x264
ret
call fcn.10142d7a
int3