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

Disassembly:
mov eax, 0x100d215c
call fcn.100cece0
sub esp, 0x88
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
xor edi, edi
cmp byte [ebx + 0x1a9], 0
je 0x1002fe49
mov ecx, dword [ebp + 8]
push 0x14
lea edx, [ebp - 0x50]
call fcn.1002a3b4
cmp eax, esi
jne 0x100305d0
lea eax, [ebp - 0x50]
lea ecx, [ebx + 0x20]
push eax
call fcn.1002fd4a
jmp 0x1002fecb
mov ecx, dword [ebp + 8]
push 0x40
lea edx, [ebp - 0x94]
call fcn.1002a3b4
cmp eax, esi
jne 0x100305d0
cmp byte [ebp - 0x94], 0x4d
jne 0x100305cd
cmp byte [ebp - 0x93], 0x5a
jne 0x100305cd
mov eax, dword [ebp - 0x58]
cmp eax, 0x40
jb 0x100305cd
cmp eax, 0x1000
ja 0x100305cd
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 0x100305d0
mov ecx, dword [ebp + 8]
push 0x18
lea edx, [ebp - 0x54]
call fcn.1002a3b4
cmp eax, esi
jne 0x100305d0
lea eax, [ebp - 0x54]
lea ecx, [ebx + 0x20]
push eax
call fcn.1002dac7
test al, al
je 0x100305cd
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.1002a3b4
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.1002a3b4
cmp eax, esi
jne 0x1003009e
mov ax, word [ebx + 0x30]
cmp ax, si
je 0x1002ff39
movzx eax, ax
push eax
lea ecx, [ebx + 0xc0]
push dword [ebp - 0x38]
call fcn.1002daf1
test al, al
je 0x1003013b
movzx eax, word [ebx + 0x30]
cmp word [ebx + 0x22], si
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
jbe 0x1002ffc4
lea ecx, [ebx + 0x14]
call fcn.10032056
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x38]
add ecx, eax
push ecx
mov ecx, edi
call fcn.1002dc69
cmp dword [ebp - 0x10], esi
mov byte [edi + 0x24], 1
jbe 0x1002ff96
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 0x1002ff96
mov esi, dword [eax + 0x14]
add esi, edx
cmp esi, ecx
jbe 0x1002ff94
cmp dword [edi + 0x14], 0
jbe 0x1002ff94
sub ecx, edx
mov dword [eax + 0x14], ecx
xor esi, esi
push 0x18
pop eax
cmp dword [edi + 0xc], eax
jne 0x1002ffb4
cmp dword [edi + 0x14], 0x200
jne 0x1002ffb4
movzx ecx, word [ebx + 0x22]
dec ecx
cmp dword [ebp - 0x10], ecx
jne 0x1002ffb4
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 0x1002ff49
xor edx, edx
cmp dword [ebx + 0x18], esi
jbe 0x1002ffe5
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 0x1002ffdf
mov dword [ebx + 0x34], eax
inc edx
cmp edx, dword [ebx + 0x18]
jb 0x1002ffcb
and byte [ebp - 0x19], 0
cmp word [ebx + 0x30], si
je 0x100300dc
lea eax, [ebp - 0x19]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.1002e664
cmp eax, esi
jne 0x1003009e
cmp dword [ebx + 0x148], esi
je 0x1003004a
lea ecx, [ebx + 0x14]
call fcn.10032056
mov edi, eax
push str.CERTIFICATE
mov ecx, edi
call fcn.1002a3b4
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 0x1003004a
mov dword [ebx + 0x34], eax
cmp byte [ebp - 0x19], 0
je 0x100300dc
mov ecx, dword [ebx + 0x34]
mov eax, ecx
and eax, 0xfff
je 0x100300dc
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 0x1003009e
push 0x1000
lea ecx, [ebp - 0x38]
call fcn.1000a101
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.1002a3b4
cmp eax, esi
je 0x100300a5
mov esi, eax
jmp 0x100305c0
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp ecx, esi
jbe 0x100300bc
mov edx, dword [ebp - 0x14]
cmp byte [eax + edx], 0
jne 0x100300bc
inc eax
cmp eax, ecx
jb 0x100300ae
cmp ecx, edi
jae 0x100300ca
cmp ecx, 0x64
jae 0x100300ca
add dword [ebx + 0x34], ecx
jmp 0x100300dc
mov edx, dword [ebx + 0x34]
add eax, edx
test ax, 0x1ff
je 0x100300d9
cmp ecx, edi
jae 0x100300dc
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
cmp eax, esi
jbe 0x1003017d
mov ecx, dword [ebx + 0x28]
cmp ecx, dword [ebp - 0x3c]
jb 0x1003017d
cmp eax, 0x1000000
jae 0x1003013b
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 0x1003009e
mov ecx, dword [ebp + 8]
push 4
lea edx, [ebp - 0x18]
call fcn.1002a3b4
test eax, eax
jne 0x1003009e
cmp dword [ebp - 0x18], 0x10000000
jb 0x10030143
push 1
pop esi
jmp 0x100305c0
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x14]
add esi, dword [ebp - 0x18]
call fcn.10032056
mov edi, eax
push str.COFF_SYMBOLS
mov ecx, edi
call fcn.1002a3b4
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 0x1003017b
mov dword [ebx + 0x34], edi
xor esi, esi
lea eax, [ebx + 0x14]
lea ecx, [ebp - 0x30]
push eax
call fcn.10031f77
push esi
push 0x10032228
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1002d708
xor eax, eax
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0x1000
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
jbe 0x10030224
mov ecx, dword [ebp - 0x30]
mov edi, dword [ecx + eax*4]
mov eax, dword [edi + 0x18]
cmp eax, dword [ebp - 0x10]
jbe 0x10030207
lea ecx, [ebx + 0x14]
call fcn.10032056
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.1002a3b4
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 0x10030224
cmp edi, dword [ebp - 0x10]
jb 0x10030218
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jb 0x100301af
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1001dbf6
cmp word [ebx + 0x30], si
je 0x10030285
cmp dword [ebx + 0xf4], esi
je 0x10030285
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 0x1003009e
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.1002a3b4
cmp eax, esi
jne 0x1003009e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0xf4]
setne al
mov byte [ebx + 0xbd], al
cmp byte [ebx + 0x1a8], 0
jne 0x100302c2
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 0x1003009e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x34]
cmp ecx, esi
jb 0x100302c2
ja 0x1003013b
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
ja 0x1003013b
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 0x100304b1
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 0x10030418
cmp byte [ebx + 0xbc], 0
je 0x10030418
mov eax, dword [edi]
push str..rsrc
push eax
call sub.msvcrt.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x10030418
cmp dword [ebx + 0x4c], esi
jne 0x10030418
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.1002efbd
cmp eax, esi
jne 0x10030402
push dword [edi]
lea ecx, [ebx + 0xa8]
call fcn.1002a3b4
push 0x5c
lea ecx, [ebx + 0xa8]
call fcn.10002804
cmp dword [ebx + 0x4c], esi
mov dword [ebp - 0x14], esi
jbe 0x10030476
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
add eax, dword [ebx + 0x48]
cmp byte [eax + 0x2e], 0
je 0x100303ed
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax]
cmp ecx, 0xa
je 0x10030395
cmp ecx, 0x40
jbe 0x100303cf
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
cmp esi, ecx
jb 0x100303bd
ja 0x100303a6
cmp eax, dword [ebp - 0x2c]
jb 0x100303bd
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 0x100303cf
cmp esi, dword [ebp - 0x20]
jb 0x100303cf
ja 0x100303c9
cmp eax, dword [ebp - 0x24]
jb 0x100303cf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
lea esi, [ebx + 0x3c]
mov ecx, esi
call fcn.10032271
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 0x10030377
jmp 0x10030476
cmp eax, 1
jne 0x1003009e
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.10030752
cmp byte [edi + 0x26], 0
je 0x10030458
mov eax, dword [ebp - 0x28]
mov edi, dword [edi + 0x14]
cmp esi, eax
jb 0x10030446
ja 0x1003042f
cmp edi, dword [ebp - 0x2c]
jb 0x10030446
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 0x10030458
cmp esi, dword [ebp - 0x20]
jb 0x10030458
ja 0x10030452
cmp edi, dword [ebp - 0x24]
jb 0x10030458
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
lea esi, [ebx + 0x3c]
mov ecx, esi
call fcn.10032271
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 0x100302e9
cmp dword [ebp - 0x20], esi
ja 0x10030493
cmp dword [ebp - 0x24], 0x100000
jb 0x100304b1
push esi
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.100cee60
cmp dword [ebp - 0x28], edx
ja 0x100304b1
jb 0x100304ad
cmp dword [ebp - 0x2c], eax
jae 0x100304b1
or dword [ebx + 0x38], 0xffffffff
xor edi, edi
cmp dword [ebx + 0x40], esi
jbe 0x100304f5
mov dword [ebp + 8], esi
mov eax, dword [ebp + 8]
add eax, dword [ebx + 0x3c]
cmp dword [eax + 8], esi
jge 0x100304e6
cmp dword [eax + 4], esi
jge 0x100304e6
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 0x100304f2
add dword [ebp + 8], 0x10
inc edi
cmp edi, dword [ebx + 0x40]
jb 0x100304bb
jmp 0x100304f5
mov dword [ebx + 0x38], edi
xor edi, edi
cmp dword [ebx + 0x94], esi
jbe 0x10030545
cmp edi, esi
je 0x1003050b
lea ecx, [ebx + 0x6c]
call fcn.10002832
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x6c]
mov eax, dword [eax + edi*4]
push eax
mov dword [ebp + 8], eax
call fcn.100028a5
push 0x100de77c
lea ecx, [ebx + 0x6c]
call fcn.1002a3b4
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
add eax, 0xc
push eax
call fcn.100028a5
inc edi
cmp edi, dword [ebx + 0x94]
jb 0x100304ff
lea edi, [ebx + 0x90]
mov edx, 0x100de768
mov ecx, edi
call fcn.100306c7
cmp eax, esi
jl 0x1003056f
mov ecx, dword [edi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x84]
add eax, 0xc
push eax
call fcn.10002692
mov edx, 0x100de758
mov ecx, edi
call fcn.100306c7
cmp eax, esi
jl 0x10030590
mov ecx, dword [edi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x78]
add eax, 0xc
push eax
call fcn.10002692
mov edx, 0x100de74c
mov ecx, edi
call fcn.100306c7
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x100305c0
add ebx, 0x78
mov ecx, ebx
call fcn.100027fc
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.100028a5
push dword [ebp - 0x38]
call fcn.100034b3
pop ecx
mov eax, esi
jmp 0x100305d0
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8