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

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x57426e
call fcn.00566e38
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 0x4b13f0
push 0x14
lea edx, [ebp + 4]
call fcn.00414a6e
test eax, eax
jne 0x4b1bc0
lea eax, [ebp + 4]
push eax
lea ecx, [ebx + 0x20]
call fcn.004b281c
jmp 0x4b145e
push 0x40
lea edx, [ebp - 0x4c]
call fcn.00414a6e
test eax, eax
jne 0x4b1bc0
cmp byte [ebp - 0x4c], 0x4d
jne 0x4b1bbd
cmp byte [ebp - 0x4b], 0x5a
jne 0x4b1bbd
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x40]
cmp eax, 0xfc0
ja 0x4b1bbd
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 0x4b1bc0
push 0x18
lea edx, [ebp]
mov ecx, edi
call fcn.00414a6e
test eax, eax
jne 0x4b1bc0
lea eax, [ebp]
push eax
lea ecx, [ebx + 0x20]
call fcn.004b287c
test al, al
je 0x4b1bbd
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.0047312e
mov edx, dword [ebp + 0x28]
xor eax, eax
push esi
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00414a6e
mov esi, eax
test esi, esi
jne 0x4b1bb0
movzx eax, word [ebx + 0x30]
test ax, ax
je 0x4b14c2
push eax
push dword [ebp + 0x28]
lea ecx, [ebx + 0xc0]
call fcn.004b258a
test al, al
je 0x4b187d
movzx ecx, word [ebx + 0x30]
xor edx, edx
xor eax, eax
mov esi, edx
cmp ax, word [ebx + 0x22]
jae 0x4b1536
mov edi, dword [ebp + 0x28]
lea eax, [ebx + 0x14]
add edi, ecx
mov ecx, eax
call fcn.004af2ca
push edi
mov ecx, eax
mov dword [ebp + 0x3c], eax
call fcn.004b271f
mov edx, dword [ebp + 0x3c]
mov byte [edx + 0x24], 1
test esi, esi
je 0x4b1522
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + esi*4 - 4]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x18]
jae 0x4b1522
mov ecx, dword [ecx + 0x14]
add eax, ecx
cmp eax, dword [edx + 0x18]
jbe 0x4b1522
xor eax, eax
cmp dword [edx + 0x14], eax
je 0x4b1522
test ecx, ecx
je 0x4b1522
mov byte [ebx + 0xbd], 1
movzx eax, word [ebx + 0x22]
inc esi
add edi, 0x28
cmp esi, eax
lea eax, [ebx + 0x14]
jb 0x4b14da
mov edi, dword [ebp + 0x60]
xor edx, edx
mov ecx, edx
cmp dword [ebx + 0x18], edx
jbe 0x4b1559
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 0x4b1551
mov dword [ebx + 0x34], edx
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x4b153d
xor edx, edx
mov byte [ebp + 0x57], dl
mov dword [ebp + 0x40], 0x1000
cmp word [ebx + 0x30], dx
je 0x4b1669
lea eax, [ebp + 0x57]
mov ecx, ebx
push eax
push edi
call fcn.004b11cd
mov esi, eax
test esi, esi
jne 0x4b1bb0
xor edx, edx
cmp dword [ebx + 0x148], edx
je 0x4b15ca
lea ecx, [ebx + 0x14]
call fcn.004af2ca
mov esi, eax
push str.CERTIFICATE
mov ecx, esi
call fcn.004026b7
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 0x4b15ca
mov dword [ebx + 0x34], eax
cmp byte [ebp + 0x57], 0
je 0x4b1669
mov ecx, dword [ebx + 0x34]
and ecx, 0xfff
je 0x4b1669
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 0x4b1bb0
push 0x1000
lea ecx, [ebp + 0x28]
call fcn.00405117
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.004149fb
mov esi, eax
test esi, esi
jne 0x4b1bb0
mov ecx, dword [ebp + 0x50]
mov edx, eax
test ecx, ecx
je 0x4b1645
mov eax, dword [ebp + 0x28]
cmp byte [eax + edx], 0
jne 0x4b1645
inc edx
cmp edx, ecx
jb 0x4b163a
mov esi, dword [ebp + 0x4c]
cmp ecx, esi
jae 0x4b1656
cmp ecx, 0x64
jae 0x4b1656
add dword [ebx + 0x34], ecx
jmp 0x4b1669
mov eax, dword [ebx + 0x34]
add eax, edx
test eax, 0x1ff
je 0x4b1666
cmp ecx, esi
jae 0x4b1669
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4b170f
mov edx, dword [ebx + 0x28]
cmp edx, dword [ebp + 0x44]
jb 0x4b170f
cmp eax, 0x1000000
jae 0x4b187d
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 0x4b1bb0
push 4
lea edx, [ebp + 0x4c]
mov ecx, edi
call fcn.00414a6e
mov esi, eax
test esi, esi
jne 0x4b1bb0
cmp dword [ebp + 0x4c], 0x10000000
jae 0x4b187d
mov eax, dword [ebp + 0x50]
lea ecx, [ebx + 0x14]
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x50], eax
call fcn.004af2ca
mov esi, eax
push str.COFF_SYMBOLS
mov ecx, esi
call fcn.004026b7
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 0x4b170f
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], eax
call fcn.004aeec5
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x4af84d
lea ecx, [ebp + 0x1c]
call fcn.0042cd63
xor eax, eax
mov esi, eax
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x20], eax
jbe 0x4b17e9
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 0x4b17c2
mov ecx, dword [ebp + 0x34]
call fcn.004af2ca
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.0040267c
push ebx
mov ecx, esi
call fcn.00402d96
mov eax, dword [esi + 8]
inc ebx
cmp eax, dword [esi + 4]
jne 0x4b17a2
mov ecx, esi
call fcn.004030e1
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 0x4b17e1
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 0x4b174c
mov ebx, dword [ebp + 0x48]
xor eax, eax
mov edi, dword [ebp + 0x60]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], al
call fcn.004af0a0
xor edx, edx
cmp word [ebx + 0x30], dx
je 0x4b184b
cmp dword [ebx + 0xf4], edx
je 0x4b184b
mov ecx, edi
call fcn.004149ee
mov esi, eax
test esi, esi
jne 0x4b1bb0
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.004af534
mov esi, eax
test esi, esi
jne 0x4b1bb0
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 0x4b1885
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 0x4b1bb0
mov eax, dword [ebx + 0x34]
xor edx, edx
cmp dword [ebp + 0x3c], edx
jb 0x4b1885
ja 0x4b187d
cmp dword [ebp + 0x38], eax
jbe 0x4b1885
xor esi, esi
inc esi
jmp 0x4b1bb0
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 0x4b1aa2
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 0x4b19f5
cmp byte [ebp + 0x57], al
je 0x4b19f5
push str..rsrc
push dword [esi]
call sub.msvcrt.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4b19ef
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.004b1e23
mov esi, eax
test esi, esi
jne 0x4b19d6
mov eax, dword [ebp + 0x3c]
lea esi, [ebx + 0xa8]
mov ecx, esi
push dword [eax]
call fcn.00402765
mov ecx, esi
call fcn.00405ff2
xor eax, eax
mov edx, eax
mov dword [ebp + 0x34], edx
cmp dword [ebx + 0x4c], eax
jbe 0x4b1a62
mov ecx, eax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x48]
add eax, ecx
cmp byte [eax + 0x2e], 0
je 0x4b19be
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 0x4b1965
cmp dword [eax], 0x40
jbe 0x4b19a4
mov edx, dword [ebp + 0x50]
xor ecx, ecx
mov eax, dword [eax + 0xc]
cmp ecx, edx
jb 0x4b1992
mov ecx, dword [ebp + 0x40]
ja 0x4b197a
cmp eax, ecx
jb 0x4b1990
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 0x4b19a4
xor ecx, ecx
cmp ecx, dword [ebp + 0x44]
jb 0x4b19a4
ja 0x4b199e
cmp eax, dword [ebp + 0x48]
jb 0x4b19a4
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.004af1d4
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 0x4b193f
jmp 0x4b1a5f
cmp esi, 1
jne 0x4b1bb0
mov eax, dword [ebp + 0x34]
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.004af7b7
mov esi, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
cmp byte [esi + 0x26], 0
je 0x4b1a39
mov eax, dword [esi + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x50]
cmp edi, esi
jb 0x4b1a27
ja 0x4b1a0e
cmp eax, dword [ebp + 0x40]
jb 0x4b1a27
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 0x4b1a39
cmp edi, edx
jb 0x4b1a39
ja 0x4b1a31
cmp eax, ecx
jb 0x4b1a39
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.004af1d4
mov edi, dword [ebp + 0x60]
mov esi, dword [ebp + 0x4c]
inc esi
mov dword [ebp + 0x4c], esi
cmp esi, dword [ebx + 0x18]
jae 0x4b1a79
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
jmp 0x4b18bc
mov ecx, dword [ebp + 0x44]
xor edx, edx
mov eax, dword [ebp + 0x48]
cmp ecx, edx
ja 0x4b1a8c
cmp eax, 0x100000
jb 0x4b1aa2
shld ecx, eax, 1
add eax, eax
cmp dword [ebp + 0x50], ecx
ja 0x4b1aa2
jb 0x4b1a9e
cmp dword [ebp + 0x40], eax
jae 0x4b1aa2
or dword [ebx + 0x38], 0xffffffff
mov esi, edx
cmp dword [ebx + 0x40], edx
jbe 0x4b1ae5
mov edi, edx
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + edi + 8], edx
jge 0x4b1ad7
cmp dword [ecx + edi + 4], edx
jge 0x4b1ad7
mov ecx, dword [ecx + edi]
mov eax, dword [ebx + 0x14]
push str._winzip_
mov eax, dword [eax + ecx*4]
push dword [eax]
call sub.msvcrt.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x4b1ae2
xor edx, edx
inc esi
add edi, 0x10
cmp esi, dword [ebx + 0x40]
jb 0x4b1aab
jmp 0x4b1ae5
mov dword [ebx + 0x38], esi
xor eax, eax
mov edi, eax
cmp dword [ebx + 0x94], eax
jbe 0x4b1b36
lea eax, [ebx + 0x6c]
test edi, edi
je 0x4b1aff
mov ecx, eax
call fcn.00402c82
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x6c]
mov esi, dword [eax + edi*4]
push esi
call fcn.00402a38
push 0x579c84
lea ecx, [ebx + 0x6c]
call fcn.00402a6d
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0x6c]
call fcn.00402a38
inc edi
lea eax, [ebx + 0x6c]
cmp edi, dword [ebx + 0x94]
jb 0x4b1af4
lea esi, [ebx + 0x90]
mov edx, 0x586334
mov ecx, esi
call fcn.004b048d
test eax, eax
js 0x4b1b60
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x84]
add eax, 0xc
push eax
call fcn.00402707
mov edx, 0x586348
mov ecx, esi
call fcn.004b048d
add ebx, 0x78
test eax, eax
js 0x4b1b83
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
mov ecx, ebx
add eax, 0xc
push eax
call fcn.00402707
mov edx, 0x586358
mov ecx, esi
call fcn.004b048d
mov edi, eax
test edi, edi
js 0x4b1bac
mov ecx, ebx
call fcn.00402d58
mov edx, dword [esi]
mov ecx, ebx
mov eax, dword [edx + edi*4]
add eax, 0xc
push eax
call fcn.00402a38
xor eax, eax
mov esi, eax
push dword [ebp + 0x28]
call fcn.00566e0e
pop ecx
mov eax, esi
jmp 0x4b1bc0
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