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

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x1010c778
call fcn.100f4ca8
sub esp, 0x40
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x60]
mov esi, eax
mov ecx, edi
mov dword [ebp + 0x48], ebx
cmp byte [ebx + 0x1a8], al
je 0x1003f554
push 0x14
lea edx, [ebp + 4]
call fcn.1000d527
test eax, eax
jne 0x1003fd24
lea eax, [ebp + 4]
push eax
lea ecx, [ebx + 0x20]
call fcn.10040980
jmp 0x1003f5c2
push 0x40
lea edx, [ebp - 0x4c]
call fcn.1000d527
test eax, eax
jne 0x1003fd24
cmp byte [ebp - 0x4c], 0x4d
jne 0x1003fd21
cmp byte [ebp - 0x4b], 0x5a
jne 0x1003fd21
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x40]
cmp eax, 0xfc0
ja 0x1003fd21
mov eax, dword [edi]
lea esi, [ecx + 4]
xor edx, edx
push edx
push edx
push edx
push ecx
push edi
call dword [eax + 0x10]
test eax, eax
jne 0x1003fd24
push 0x18
lea edx, [ebp]
mov ecx, edi
call fcn.1000d527
test eax, eax
jne 0x1003fd24
lea eax, [ebp]
push eax
lea ecx, [ebx + 0x20]
call fcn.100409e0
test al, al
je 0x1003fd21
movzx eax, word [ebx + 0x22]
lea ecx, [esi + 0x14]
imul esi, eax, 0x28
movzx eax, word [ebx + 0x30]
mov dword [ebp + 0x44], ecx
add esi, eax
push esi
lea eax, [esi + ecx]
lea ecx, [ebp + 0x28]
mov dword [ebx + 0x34], eax
call fcn.1000fdc9
mov edx, dword [ebp + 0x28]
xor eax, eax
push esi
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.1000d527
mov esi, eax
test esi, esi
jne 0x1003fd14
movzx eax, word [ebx + 0x30]
test ax, ax
je 0x1003f626
push eax
push dword [ebp + 0x28]
lea ecx, [ebx + 0xc0]
call fcn.100406ee
test al, al
je 0x1003f9e1
movzx ecx, word [ebx + 0x30]
xor edx, edx
xor eax, eax
mov esi, edx
cmp ax, word [ebx + 0x22]
jae 0x1003f69a
mov edi, dword [ebp + 0x28]
lea eax, [ebx + 0x14]
add edi, ecx
mov ecx, eax
call fcn.1003d3fd
push edi
mov ecx, eax
mov dword [ebp + 0x3c], eax
call fcn.10040883
mov edx, dword [ebp + 0x3c]
mov byte [edx + 0x24], 1
test esi, esi
je 0x1003f686
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + esi*4 - 4]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x18]
jae 0x1003f686
mov ecx, dword [ecx + 0x14]
add eax, ecx
cmp eax, dword [edx + 0x18]
jbe 0x1003f686
xor eax, eax
cmp dword [edx + 0x14], eax
je 0x1003f686
test ecx, ecx
je 0x1003f686
mov byte [ebx + 0xbd], 1
movzx eax, word [ebx + 0x22]
inc esi
add edi, 0x28
cmp esi, eax
lea eax, [ebx + 0x14]
jb 0x1003f63e
mov edi, dword [ebp + 0x60]
xor edx, edx
mov ecx, edx
cmp dword [ebx + 0x18], edx
jbe 0x1003f6bd
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x18]
add edx, dword [eax + 0x14]
cmp dword [ebx + 0x34], edx
jae 0x1003f6b5
mov dword [ebx + 0x34], edx
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x1003f6a1
xor edx, edx
mov byte [ebp + 0x57], dl
mov dword [ebp + 0x40], 0x1000
cmp word [ebx + 0x30], dx
je 0x1003f7cd
lea eax, [ebp + 0x57]
mov ecx, ebx
push eax
push edi
call fcn.1003f331
mov esi, eax
test esi, esi
jne 0x1003fd14
xor edx, edx
cmp dword [ebx + 0x148], edx
je 0x1003f72e
lea ecx, [ebx + 0x14]
call fcn.1003d3fd
mov esi, eax
push str.CERTIFICATE
mov ecx, esi
call fcn.100023c2
xor eax, eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x144]
mov dword [esi + 0x18], edx
mov ecx, dword [ebx + 0x148]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], ecx
lea eax, [ecx + edx]
xor edx, edx
cmp dword [ebx + 0x34], eax
jae 0x1003f72e
mov dword [ebx + 0x34], eax
cmp byte [ebp + 0x57], 0
je 0x1003f7cd
mov ecx, dword [ebx + 0x34]
and ecx, 0xfff
je 0x1003f7cd
push edx
push edx
mov eax, 0x1000
sub eax, ecx
push edx
push dword [ebx + 0x34]
mov dword [ebp + 0x4c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x1003fd14
push 0x1000
lea ecx, [ebp + 0x28]
call fcn.100049f4
mov eax, dword [ebp + 0x4c]
mov ecx, edi
mov edx, dword [ebp + 0x28]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
call fcn.1000d4b4
mov esi, eax
test esi, esi
jne 0x1003fd14
mov ecx, dword [ebp + 0x50]
mov edx, eax
test ecx, ecx
je 0x1003f7a9
mov eax, dword [ebp + 0x28]
cmp byte [eax + edx], 0
jne 0x1003f7a9
inc edx
cmp edx, ecx
jb 0x1003f79e
mov esi, dword [ebp + 0x4c]
cmp ecx, esi
jae 0x1003f7ba
cmp ecx, 0x64
jae 0x1003f7ba
add dword [ebx + 0x34], ecx
jmp 0x1003f7cd
mov eax, dword [ebx + 0x34]
add eax, edx
test eax, 0x1ff
je 0x1003f7ca
cmp ecx, esi
jae 0x1003f7cd
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1003f873
mov edx, dword [ebx + 0x28]
cmp edx, dword [ebp + 0x44]
jb 0x1003f873
cmp eax, 0x1000000
jae 0x1003f9e1
imul eax, eax, 0x12
xor ecx, ecx
push ecx
add edx, eax
mov dword [ebp + 0x50], eax
pop eax
adc ecx, eax
mov eax, dword [edi]
xor esi, esi
push esi
push esi
push ecx
push edx
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x1003fd14
push 4
lea edx, [ebp + 0x4c]
mov ecx, edi
call fcn.1000d527
mov esi, eax
test esi, esi
jne 0x1003fd14
cmp dword [ebp + 0x4c], 0x10000000
jae 0x1003f9e1
mov eax, dword [ebp + 0x50]
lea ecx, [ebx + 0x14]
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x50], eax
call fcn.1003d3fd
mov esi, eax
push str.COFF_SYMBOLS
mov ecx, esi
call fcn.100023c2
xor eax, eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebp + 0x50]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
add eax, ecx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0x34], eax
jae 0x1003f873
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], eax
call fcn.1003cff8
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x1003d9b1
lea ecx, [ebp + 0x1c]
call fcn.1001ea9c
xor eax, eax
mov esi, eax
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x20], eax
jbe 0x1003f94d
mov edi, dword [ebp + 0x20]
mov ecx, 0x1000
mov ebx, eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp + 0x50], eax
mov edx, dword [eax + 0x18]
cmp edx, ecx
jbe 0x1003f926
mov ecx, dword [ebp + 0x34]
call fcn.1003d3fd
mov ecx, dword [ebp + 0x50]
mov esi, eax
mov eax, dword [ebp + 0x40]
push 0x5b
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov ecx, dword [ecx + 0x18]
sub ecx, eax
mov byte [esi + 0x26], 1
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], ecx
mov ecx, esi
call fcn.10002387
push ebx
mov ecx, esi
call fcn.10002a5e
mov eax, dword [esi + 8]
inc ebx
cmp eax, dword [esi + 4]
jne 0x1003f906
mov ecx, esi
call fcn.10002cc1
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov byte [eax + ecx], 0x5d
inc ecx
xor edx, edx
mov byte [eax + ecx], dl
mov eax, dword [ebp + 0x50]
mov dword [esi + 4], ecx
mov esi, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x20]
mov ecx, dword [eax + 0x18]
mov edx, ecx
mov eax, dword [eax + 0x14]
add eax, edx
cmp eax, edx
jb 0x1003f945
inc esi
cmp eax, ecx
mov dword [ebp + 0x4c], esi
cmovb eax, ecx
mov ecx, eax
mov dword [ebp + 0x40], ecx
cmp esi, edi
jb 0x1003f8b0
mov ebx, dword [ebp + 0x48]
xor eax, eax
mov edi, dword [ebp + 0x60]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], al
call fcn.1003d1d3
xor edx, edx
cmp word [ebx + 0x30], dx
je 0x1003f9af
cmp dword [ebx + 0xf4], edx
je 0x1003f9af
mov ecx, edi
call fcn.1000d4a7
mov esi, eax
test esi, esi
jne 0x1003fd14
mov edx, dword [ebx + 0x34]
mov ecx, edi
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
push eax
mov eax, dword [ebp + 0x44]
add eax, 0x40
push eax
call fcn.1003d674
mov esi, eax
test esi, esi
jne 0x1003fd14
mov eax, dword [ebp + 0x50]
cmp eax, dword [ebx + 0xf4]
setne al
xor edx, edx
mov byte [ebx + 0xbc], al
cmp byte [ebx + 0x1a9], 0
jne 0x1003f9e9
mov eax, dword [edi]
lea ecx, [ebp + 0x38]
push ecx
push 2
push edx
push edx
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x1003fd14
mov eax, dword [ebx + 0x34]
xor edx, edx
cmp dword [ebp + 0x3c], edx
jb 0x1003f9e9
ja 0x1003f9e1
cmp dword [ebp + 0x38], eax
jbe 0x1003f9e9
xor esi, esi
inc esi
jmp 0x1003fd14
xorps xmm0, xmm0
mov byte [ebp + 0x57], 1
mov esi, edx
movlpd qword [ebp + 0x38], xmm0
movlpd qword [ebp + 0x30], xmm0
mov dword [ebp + 0x4c], edx
cmp dword [ebx + 0x18], edx
jbe 0x1003fc06
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], edx
mov dword [ebp + 0x48], ecx
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + esi*4]
xor eax, eax
mov dword [ebp + 0x3c], esi
cmp word [ebx + 0x30], ax
je 0x1003fb59
cmp byte [ebp + 0x57], al
je 0x1003fb59
push str..rsrc
push dword [esi]
call fcn.100fa470
pop ecx
pop ecx
test eax, eax
jne 0x1003fb53
push dword [ebp + 0x64]
mov byte [ebp + 0x57], al
mov ecx, ebx
mov eax, dword [ebx + 0x40]
push edi
push dword [ebp + 0x4c]
mov dword [ebp + 0x34], eax
call fcn.1003ff87
mov esi, eax
test esi, esi
jne 0x1003fb3a
mov eax, dword [ebp + 0x3c]
lea esi, [ebx + 0xa8]
mov ecx, esi
push dword [eax]
call fcn.10002470
mov ecx, esi
call fcn.100050a7
xor eax, eax
mov edx, eax
mov dword [ebp + 0x34], edx
cmp dword [ebx + 0x4c], eax
jbe 0x1003fbc6
mov ecx, eax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x48]
add eax, ecx
cmp byte [eax + 0x2e], 0
je 0x1003fb22
or dword [ebp + 0x20], 0xffffffff
or dword [ebp + 0x24], 0xffffffff
cmp dword [eax], 0xa
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
je 0x1003fac9
cmp dword [eax], 0x40
jbe 0x1003fb08
mov edx, dword [ebp + 0x50]
xor ecx, ecx
mov eax, dword [eax + 0xc]
cmp ecx, edx
jb 0x1003faf6
mov ecx, dword [ebp + 0x40]
ja 0x1003fade
cmp eax, ecx
jb 0x1003faf4
mov dword [ebp + 0x40], eax
xor eax, eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], edx
mov dword [ebx + 0x38], eax
jmp 0x1003fb08
xor ecx, ecx
cmp ecx, dword [ebp + 0x44]
jb 0x1003fb08
ja 0x1003fb02
cmp eax, dword [ebp + 0x48]
jb 0x1003fb08
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x44], ecx
sub esp, 0x10
lea esi, [ebp + 0x18]
mov edi, esp
lea ecx, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1003d307
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x3c]
inc edx
add ecx, 0x30
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x3c], ecx
cmp edx, dword [ebx + 0x4c]
jb 0x1003faa3
jmp 0x1003fbc3
cmp esi, 1
jne 0x1003fd14
mov eax, dword [ebp + 0x34]
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.1003d91b
mov esi, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
cmp byte [esi + 0x26], 0
je 0x1003fb9d
mov eax, dword [esi + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x50]
cmp edi, esi
jb 0x1003fb8b
ja 0x1003fb72
cmp eax, dword [ebp + 0x40]
jb 0x1003fb8b
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x40], eax
xor eax, eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x44], esi
mov dword [ebx + 0x38], eax
jmp 0x1003fb9d
cmp edi, edx
jb 0x1003fb9d
ja 0x1003fb95
cmp eax, ecx
jb 0x1003fb9d
mov dword [ebp + 0x48], eax
xor eax, eax
mov dword [ebp + 0x44], eax
or dword [ebp + 0xc], 0xffffffff
lea esi, [ebp + 8]
or dword [ebp + 0x10], 0xffffffff
lea ecx, [ebx + 0x3c]
or dword [ebp + 0x14], 0xffffffff
sub esp, 0x10
mov eax, dword [ebp + 0x4c]
mov edi, esp
mov dword [ebp + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1003d307
mov edi, dword [ebp + 0x60]
mov esi, dword [ebp + 0x4c]
inc esi
mov dword [ebp + 0x4c], esi
cmp esi, dword [ebx + 0x18]
jae 0x1003fbdd
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
jmp 0x1003fa20
mov ecx, dword [ebp + 0x44]
xor edx, edx
mov eax, dword [ebp + 0x48]
cmp ecx, edx
ja 0x1003fbf0
cmp eax, 0x100000
jb 0x1003fc06
shld ecx, eax, 1
add eax, eax
cmp dword [ebp + 0x50], ecx
ja 0x1003fc06
jb 0x1003fc02
cmp dword [ebp + 0x40], eax
jae 0x1003fc06
or dword [ebx + 0x38], 0xffffffff
mov esi, edx
cmp dword [ebx + 0x40], edx
jbe 0x1003fc49
mov edi, edx
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + edi + 8], edx
jge 0x1003fc3b
cmp dword [ecx + edi + 4], edx
jge 0x1003fc3b
mov ecx, dword [ecx + edi]
mov eax, dword [ebx + 0x14]
push str._winzip_
mov eax, dword [eax + ecx*4]
push dword [eax]
call fcn.100fa470
pop ecx
pop ecx
test eax, eax
je 0x1003fc46
xor edx, edx
inc esi
add edi, 0x10
cmp esi, dword [ebx + 0x40]
jb 0x1003fc0f
jmp 0x1003fc49
mov dword [ebx + 0x38], esi
xor eax, eax
mov edi, eax
cmp dword [ebx + 0x94], eax
jbe 0x1003fc9a
lea eax, [ebx + 0x6c]
test edi, edi
je 0x1003fc63
mov ecx, eax
call fcn.10002955
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x6c]
mov esi, dword [eax + edi*4]
push esi
call fcn.1000270b
push 0x10112058
lea ecx, [ebx + 0x6c]
call fcn.10002740
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0x6c]
call fcn.1000270b
inc edi
lea eax, [ebx + 0x6c]
cmp edi, dword [ebx + 0x94]
jb 0x1003fc58
lea esi, [ebx + 0x90]
mov edx, 0x1011789c
mov ecx, esi
call fcn.1003e5f1
test eax, eax
js 0x1003fcc4
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x84]
add eax, 0xc
push eax
call fcn.10002412
mov edx, 0x101178b0
mov ecx, esi
call fcn.1003e5f1
add ebx, 0x78
test eax, eax
js 0x1003fce7
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
mov ecx, ebx
add eax, 0xc
push eax
call fcn.10002412
mov edx, 0x101178c0
mov ecx, esi
call fcn.1003e5f1
mov edi, eax
test edi, edi
js 0x1003fd10
mov ecx, ebx
call fcn.10002a2b
mov edx, dword [esi]
mov ecx, ebx
mov eax, dword [edx + edi*4]
add eax, 0xc
push eax
call fcn.1000270b
xor eax, eax
mov esi, eax
push dword [ebp + 0x28]
call fcn.100f4c7e
pop ecx
mov eax, esi
jmp 0x1003fd24
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x58
leave
ret 8