Function at 0x1002faf5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d158c
call fcn.100ce110
sub esp, 0x88
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
xor edi, edi
cmp byte [ebx + 0x1a9], 0
je 0x1002fb3d
mov ecx, dword [ebp + 8]
push 0x14
lea edx, [ebp - 0x50]
call fcn.1000a04a
cmp eax, esi
jne 0x100302c4
lea eax, [ebp - 0x50]
lea ecx, [ebx + 0x20]
push eax
call fcn.1002fa3e
jmp 0x1002fbbf
mov ecx, dword [ebp + 8]
push 0x40
lea edx, [ebp - 0x94]
call fcn.1000a04a
cmp eax, esi
jne 0x100302c4
cmp byte [ebp - 0x94], 0x4d
jne 0x100302c1
cmp byte [ebp - 0x93], 0x5a
jne 0x100302c1
mov eax, dword [ebp - 0x58]
cmp eax, 0x40
jb 0x100302c1
cmp eax, 0x1000
ja 0x100302c1
mov ecx, dword [ebp + 8]
push esi
push esi
push esi
mov edx, dword [ecx]
push eax
push ecx
lea edi, [eax + 4]
call dword [edx + 0x10]
cmp eax, esi
jne 0x100302c4
mov ecx, dword [ebp + 8]
push 0x18
lea edx, [ebp - 0x54]
call fcn.1000a04a
cmp eax, esi
jne 0x100302c4
lea eax, [ebp - 0x54]
lea ecx, [ebx + 0x20]
push eax
call fcn.1002d7bb
test al, al
je 0x100302c1
movzx eax, word [ebx + 0x22]
movzx edx, word [ebx + 0x30]
lea eax, [eax + eax*4]
lea ecx, [edi + 0x14]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
lea edi, [edx + eax*8]
mov dword [ebp - 0x34], esi
push edi
lea eax, [edi + ecx]
mov dword [ebx + 0x34], eax
call fcn.100033f2
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 8]
push edi
mov edx, eax
mov dword [ebp - 4], esi
call fcn.1000a04a
cmp eax, esi
jne 0x1002fd92
mov ax, word [ebx + 0x30]
cmp ax, si
je 0x1002fc2d
movzx eax, ax
push eax
lea ecx, [ebx + 0xc0]
push dword [ebp - 0x38]
call fcn.1002d7e5
test al, al
je 0x1002fe2f
movzx eax, word [ebx + 0x30]
cmp word [ebx + 0x22], si
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
jbe 0x1002fcb8
lea ecx, [ebx + 0x14]
call fcn.10031d5c
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x38]
add ecx, eax
push ecx
mov ecx, edi
call fcn.1002d95d
cmp dword [ebp - 0x10], esi
mov byte [edi + 0x24], 1
jbe 0x1002fc8a
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [edi + 0x18]
mov edx, dword [eax + 0x18]
cmp edx, ecx
jae 0x1002fc8a
mov esi, dword [eax + 0x14]
add esi, edx
cmp esi, ecx
jbe 0x1002fc88
cmp dword [edi + 0x14], 0
jbe 0x1002fc88
sub ecx, edx
mov dword [eax + 0x14], ecx
xor esi, esi
push 0x18
pop eax
cmp dword [edi + 0xc], eax
jne 0x1002fca8
cmp dword [edi + 0x14], 0x200
jne 0x1002fca8
movzx ecx, word [ebx + 0x22]
dec ecx
cmp dword [ebp - 0x10], ecx
jne 0x1002fca8
mov dword [edi + 0x14], eax
movzx eax, word [ebx + 0x22]
inc dword [ebp - 0x10]
add dword [ebp - 0x14], 0x28
cmp dword [ebp - 0x10], eax
jb 0x1002fc3d
xor edx, edx
cmp dword [ebx + 0x18], esi
jbe 0x1002fcd9
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
cmp dword [ebx + 0x34], eax
jae 0x1002fcd3
mov dword [ebx + 0x34], eax
inc edx
cmp edx, dword [ebx + 0x18]
jb 0x1002fcbf
and byte [ebp - 0x19], 0
cmp word [ebx + 0x30], si
je 0x1002fdd0
lea eax, [ebp - 0x19]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.1002e358
cmp eax, esi
jne 0x1002fd92
cmp dword [ebx + 0x148], esi
je 0x1002fd3e
lea ecx, [ebx + 0x14]
call fcn.10031d5c
mov edi, eax
push str.CERTIFICATE
mov ecx, edi
call fcn.10001e04
mov dword [edi + 0x10], esi
mov eax, dword [ebx + 0x144]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x148]
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
add eax, dword [edi + 0x18]
cmp dword [ebx + 0x34], eax
jae 0x1002fd3e
mov dword [ebx + 0x34], eax
cmp byte [ebp - 0x19], 0
je 0x1002fdd0
mov ecx, dword [ebx + 0x34]
mov eax, ecx
and eax, 0xfff
je 0x1002fdd0
mov edi, 0x1000
push esi
sub edi, eax
mov eax, dword [ebp + 8]
push esi
push esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
cmp eax, esi
jne 0x1002fd92
push 0x1000
lea ecx, [ebp - 0x38]
call fcn.10009fc8
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push eax
mov dword [ebp - 0x18], edi
call fcn.10009ffe
cmp eax, esi
je 0x1002fd99
mov esi, eax
jmp 0x100302b4
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp ecx, esi
jbe 0x1002fdb0
mov edx, dword [ebp - 0x14]
cmp byte [eax + edx], 0
jne 0x1002fdb0
inc eax
cmp eax, ecx
jb 0x1002fda2
cmp ecx, edi
jae 0x1002fdbe
cmp ecx, 0x64
jae 0x1002fdbe
add dword [ebx + 0x34], ecx
jmp 0x1002fdd0
mov edx, dword [ebx + 0x34]
add eax, edx
test ax, 0x1ff
je 0x1002fdcd
cmp ecx, edi
jae 0x1002fdd0
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
cmp eax, esi
jbe 0x1002fe71
mov ecx, dword [ebx + 0x28]
cmp ecx, dword [ebp - 0x3c]
jb 0x1002fe71
cmp eax, 0x1000000
jae 0x1002fe2f
lea eax, [eax + eax*8]
mov edx, dword [ebp + 8]
shl eax, 1
push esi
push esi
mov dword [ebp - 0x14], eax
mov edx, dword [edx]
xor esi, esi
xor edi, edi
add eax, ecx
adc esi, edi
push esi
push eax
push dword [ebp + 8]
call dword [edx + 0x10]
test eax, eax
jne 0x1002fd92
mov ecx, dword [ebp + 8]
push 4
lea edx, [ebp - 0x18]
call fcn.1000a04a
test eax, eax
jne 0x1002fd92
cmp dword [ebp - 0x18], 0x10000000
jb 0x1002fe37
push 1
pop esi
jmp 0x100302b4
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x14]
add esi, dword [ebp - 0x18]
call fcn.10031d5c
mov edi, eax
push str.COFF_SYMBOLS
mov ecx, edi
call fcn.10001e04
and dword [edi + 0x10], 0
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], esi
mov dword [edi + 0x14], esi
mov edi, eax
add edi, esi
cmp dword [ebx + 0x34], edi
jae 0x1002fe6f
mov dword [ebx + 0x34], edi
xor esi, esi
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x30]
push eax
call fcn.10031c7d
push esi
push 0x10031f05
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1002d3f2
xor eax, eax
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0x1000
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
jbe 0x1002ff18
mov ecx, dword [ebp - 0x30]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi + 0x18]
cmp eax, dword [ebp - 0x10]
jbe 0x1002fefb
lea ecx, [ebx + 0x14]
call fcn.10031d5c
mov ecx, dword [ebp - 0x10]
mov esi, eax
push 0x5b
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ecx
mov eax, dword [edi + 0x18]
mov byte [esi + 0x26], 1
sub eax, ecx
mov ecx, esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
call fcn.10001dc9
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10001fe1
push 0x5d
mov ecx, esi
call fcn.10001f1b
mov eax, dword [edi + 0x18]
xor esi, esi
mov dword [ebp - 0x10], eax
mov edi, dword [edi + 0x14]
add edi, eax
cmp edi, eax
jb 0x1002ff18
cmp edi, dword [ebp - 0x10]
jb 0x1002ff0c
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jb 0x1002fea3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1001d9f3
cmp word [ebx + 0x30], si
je 0x1002ff79
cmp dword [ebx + 0xf4], esi
je 0x1002ff79
mov edi, dword [ebp + 8]
push esi
push esi
push esi
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x10]
cmp eax, esi
jne 0x1002fd92
mov edx, dword [ebx + 0x34]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0x40
mov ecx, edi
push eax
mov dword [ebp - 0x18], esi
call fcn.100302d5
cmp eax, esi
jne 0x1002fd92
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0xf4]
setne al
mov byte [ebx + 0xbd], al
cmp byte [ebx + 0x1a8], 0
jne 0x1002ffb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x2c]
push edx
push 2
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x10]
cmp eax, esi
jne 0x1002fd92
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x34]
cmp ecx, esi
jb 0x1002ffb6
ja 0x1002fe2f
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
ja 0x1002fe2f
mov byte [ebx + 0xbc], 1
cmp dword [ebx + 0x18], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
jbe 0x100301a5
or dword [ebp - 0x44], 0xffffffff
or dword [ebp - 0x40], 0xffffffff
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x48], 0xffffffff
cmp word [ebx + 0x30], si
mov edi, dword [ecx + eax*4]
mov dword [ebp - 0x4c], eax
je 0x1003010c
cmp byte [ebx + 0xbc], 0
je 0x1003010c
mov eax, dword [edi]
push str..rsrc
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x1003010c
cmp dword [ebx + 0x4c], esi
jne 0x1003010c
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x40]
mov ecx, ebx
mov dword [ebp - 0x3c], eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1002ecb1
cmp eax, esi
jne 0x100300f6
push dword [edi]
lea ecx, [ebx + 0xa8]
call fcn.1000276b
push 0x5c
lea ecx, [ebx + 0xa8]
call fcn.100027df
cmp dword [ebx + 0x4c], esi
mov dword [ebp - 0x14], esi
jbe 0x1003016a
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
add eax, dword [ebx + 0x48]
cmp byte [eax + 0x2e], 0
je 0x100300e1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax]
cmp ecx, 0xa
je 0x10030089
cmp ecx, 0x40
jbe 0x100300c3
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
cmp esi, ecx
jb 0x100300b1
ja 0x1003009a
cmp eax, dword [ebp - 0x2c]
jb 0x100300b1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], esi
mov dword [ebx + 0x38], eax
jmp 0x100300c3
cmp esi, dword [ebp - 0x20]
jb 0x100300c3
ja 0x100300bd
cmp eax, dword [ebp - 0x24]
jb 0x100300c3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
lea esi, [ebx + 0x3c]
mov ecx, esi
call fcn.10031f4e
mov edi, dword [esi + 4]
shl edi, 4
add edi, dword [esi]
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x40]
xor esi, esi
inc dword [ebp - 0x14]
add dword [ebp - 0x18], 0x30
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x4c]
jb 0x1003006b
jmp 0x1003016a
cmp eax, 1
jne 0x1002fd92
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.10030446
cmp byte [edi + 0x26], 0
je 0x1003014c
mov eax, dword [ebp - 0x28]
mov edi, dword [edi + 0x14]
cmp esi, eax
jb 0x1003013a
ja 0x10030123
cmp edi, dword [ebp - 0x2c]
jb 0x1003013a
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebx + 0x38], eax
jmp 0x1003014c
cmp esi, dword [ebp - 0x20]
jb 0x1003014c
ja 0x10030146
cmp edi, dword [ebp - 0x24]
jb 0x1003014c
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
lea esi, [ebx + 0x3c]
mov ecx, esi
call fcn.10031f4e
mov edi, dword [esi + 4]
shl edi, 4
add edi, dword [esi]
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x40]
xor esi, esi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x18]
jb 0x1002ffdd
cmp dword [ebp - 0x20], esi
ja 0x10030187
cmp dword [ebp - 0x24], 0x100000
jb 0x100301a5
push esi
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.100ce2a0
cmp dword [ebp - 0x28], edx
ja 0x100301a5
jb 0x100301a1
cmp dword [ebp - 0x2c], eax
jae 0x100301a5
or dword [ebx + 0x38], 0xffffffff
xor edi, edi
cmp dword [ebx + 0x40], esi
jbe 0x100301e9
mov dword [ebp + 8], esi
mov eax, dword [ebp + 8]
add eax, dword [ebx + 0x3c]
cmp dword [eax + 8], esi
jge 0x100301da
cmp dword [eax + 4], esi
jge 0x100301da
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
push str._winzip_
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x100301e6
add dword [ebp + 8], 0x10
inc edi
cmp edi, dword [ebx + 0x40]
jb 0x100301af
jmp 0x100301e9
mov dword [ebx + 0x38], edi
xor edi, edi
cmp dword [ebx + 0x94], esi
jbe 0x10030239
cmp edi, esi
je 0x100301ff
lea ecx, [ebx + 0x6c]
call fcn.1000280d
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x6c]
mov eax, dword [eax + edi*4]
push eax
mov dword [ebp + 8], eax
call fcn.10002880
push 0x100de774
lea ecx, [ebx + 0x6c]
call fcn.100028bc
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
add eax, 0xc
push eax
call fcn.10002880
inc edi
cmp edi, dword [ebx + 0x94]
jb 0x100301f3
lea edi, [ebx + 0x90]
mov edx, 0x100de760
mov ecx, edi
call fcn.100303bb
cmp eax, esi
jl 0x10030263
mov ecx, dword [edi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x84]
add eax, 0xc
push eax
call fcn.1000266d
mov edx, 0x100de750
mov ecx, edi
call fcn.100303bb
cmp eax, esi
jl 0x10030284
mov ecx, dword [edi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x78]
add eax, 0xc
push eax
call fcn.1000266d
mov edx, 0x100de744
mov ecx, edi
call fcn.100303bb
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x100302b4
add ebx, 0x78
mov ecx, ebx
call fcn.100027d7
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
add eax, 0xc
push eax
call fcn.10002880
push dword [ebp - 0x38]
call fcn.10003419
pop ecx
mov eax, esi
jmp 0x100302c4
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8