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

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x57387e
call fcn.00566548
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 0x4b1475
push 0x14
lea edx, [ebp + 4]
call fcn.00414ae5
test eax, eax
jne 0x4b1c45
lea eax, [ebp + 4]
push eax
lea ecx, [ebx + 0x20]
call fcn.004b28a5
jmp 0x4b14e3
push 0x40
lea edx, [ebp - 0x4c]
call fcn.00414ae5
test eax, eax
jne 0x4b1c45
cmp byte [ebp - 0x4c], 0x4d
jne 0x4b1c42
cmp byte [ebp - 0x4b], 0x5a
jne 0x4b1c42
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x40]
cmp eax, 0xfc0
ja 0x4b1c42
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 0x4b1c45
push 0x18
lea edx, [ebp]
mov ecx, edi
call fcn.00414ae5
test eax, eax
jne 0x4b1c45
lea eax, [ebp]
push eax
lea ecx, [ebx + 0x20]
call fcn.004b2905
test al, al
je 0x4b1c42
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.00473252
mov edx, dword [ebp + 0x28]
xor eax, eax
push esi
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00414ae5
mov esi, eax
test esi, esi
jne 0x4b1c35
movzx eax, word [ebx + 0x30]
test ax, ax
je 0x4b1547
push eax
push dword [ebp + 0x28]
lea ecx, [ebx + 0xc0]
call fcn.004b2615
test al, al
je 0x4b1902
movzx ecx, word [ebx + 0x30]
xor edx, edx
xor eax, eax
mov esi, edx
cmp ax, word [ebx + 0x22]
jae 0x4b15bb
mov edi, dword [ebp + 0x28]
lea eax, [ebx + 0x14]
add edi, ecx
mov ecx, eax
call fcn.004af357
push edi
mov ecx, eax
mov dword [ebp + 0x3c], eax
call fcn.004b27a8
mov edx, dword [ebp + 0x3c]
mov byte [edx + 0x24], 1
test esi, esi
je 0x4b15a7
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + esi*4 - 4]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x18]
jae 0x4b15a7
mov ecx, dword [ecx + 0x14]
add eax, ecx
cmp eax, dword [edx + 0x18]
jbe 0x4b15a7
xor eax, eax
cmp dword [edx + 0x14], eax
je 0x4b15a7
test ecx, ecx
je 0x4b15a7
mov byte [ebx + 0xbd], 1
movzx eax, word [ebx + 0x22]
inc esi
add edi, 0x28
cmp esi, eax
lea eax, [ebx + 0x14]
jb 0x4b155f
mov edi, dword [ebp + 0x60]
xor edx, edx
mov ecx, edx
cmp dword [ebx + 0x18], edx
jbe 0x4b15de
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 0x4b15d6
mov dword [ebx + 0x34], edx
inc ecx
cmp ecx, dword [ebx + 0x18]
jb 0x4b15c2
xor edx, edx
mov byte [ebp + 0x57], dl
mov dword [ebp + 0x40], 0x1000
cmp word [ebx + 0x30], dx
je 0x4b16ee
lea eax, [ebp + 0x57]
mov ecx, ebx
push eax
push edi
call fcn.004b1252
mov esi, eax
test esi, esi
jne 0x4b1c35
xor edx, edx
cmp dword [ebx + 0x148], edx
je 0x4b164f
lea ecx, [ebx + 0x14]
call fcn.004af357
mov esi, eax
push str.CERTIFICATE
mov ecx, esi
call fcn.004026df
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 0x4b164f
mov dword [ebx + 0x34], eax
cmp byte [ebp + 0x57], 0
je 0x4b16ee
mov ecx, dword [ebx + 0x34]
and ecx, 0xfff
je 0x4b16ee
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 0x4b1c35
push 0x1000
lea ecx, [ebp + 0x28]
call fcn.00405170
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.00414a72
mov esi, eax
test esi, esi
jne 0x4b1c35
mov ecx, dword [ebp + 0x50]
mov edx, eax
test ecx, ecx
je 0x4b16ca
mov eax, dword [ebp + 0x28]
cmp byte [eax + edx], 0
jne 0x4b16ca
inc edx
cmp edx, ecx
jb 0x4b16bf
mov esi, dword [ebp + 0x4c]
cmp ecx, esi
jae 0x4b16db
cmp ecx, 0x64
jae 0x4b16db
add dword [ebx + 0x34], ecx
jmp 0x4b16ee
mov eax, dword [ebx + 0x34]
add eax, edx
test eax, 0x1ff
je 0x4b16eb
cmp ecx, esi
jae 0x4b16ee
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4b1794
mov edx, dword [ebx + 0x28]
cmp edx, dword [ebp + 0x44]
jb 0x4b1794
cmp eax, 0x1000000
jae 0x4b1902
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 0x4b1c35
push 4
lea edx, [ebp + 0x4c]
mov ecx, edi
call fcn.00414ae5
mov esi, eax
test esi, esi
jne 0x4b1c35
cmp dword [ebp + 0x4c], 0x10000000
jae 0x4b1902
mov eax, dword [ebp + 0x50]
lea ecx, [ebx + 0x14]
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x50], eax
call fcn.004af357
mov esi, eax
push str.COFF_SYMBOLS
mov ecx, esi
call fcn.004026df
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 0x4b1794
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], eax
call fcn.004aef52
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x4af8e0
lea ecx, [ebp + 0x1c]
call fcn.0042ce43
xor eax, eax
mov esi, eax
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x20], eax
jbe 0x4b186e
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 0x4b1847
mov ecx, dword [ebp + 0x34]
call fcn.004af357
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.004026a4
push ebx
mov ecx, esi
call fcn.00402dd6
mov eax, dword [esi + 8]
inc ebx
cmp eax, dword [esi + 4]
jne 0x4b1827
mov ecx, esi
call fcn.00403121
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 0x4b1866
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 0x4b17d1
mov ebx, dword [ebp + 0x48]
xor eax, eax
mov edi, dword [ebp + 0x60]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], al
call fcn.004af12d
xor edx, edx
cmp word [ebx + 0x30], dx
je 0x4b18d0
cmp dword [ebx + 0xf4], edx
je 0x4b18d0
mov ecx, edi
call fcn.00414a65
mov esi, eax
test esi, esi
jne 0x4b1c35
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.004af5c4
mov esi, eax
test esi, esi
jne 0x4b1c35
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 0x4b190a
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 0x4b1c35
mov eax, dword [ebx + 0x34]
xor edx, edx
cmp dword [ebp + 0x3c], edx
jb 0x4b190a
ja 0x4b1902
cmp dword [ebp + 0x38], eax
jbe 0x4b190a
xor esi, esi
inc esi
jmp 0x4b1c35
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 0x4b1b27
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 0x4b1a7a
cmp byte [ebp + 0x57], al
je 0x4b1a7a
push str..rsrc
push dword [esi]
call sub.msvcrt.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x4b1a74
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.004b1ea7
mov esi, eax
test esi, esi
jne 0x4b1a5b
mov eax, dword [ebp + 0x3c]
lea esi, [ebx + 0xa8]
mov ecx, esi
push dword [eax]
call fcn.00402790
mov ecx, esi
call fcn.00406049
xor eax, eax
mov edx, eax
mov dword [ebp + 0x34], edx
cmp dword [ebx + 0x4c], eax
jbe 0x4b1ae7
mov ecx, eax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x48]
add eax, ecx
cmp byte [eax + 0x2e], 0
je 0x4b1a43
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 0x4b19ea
cmp dword [eax], 0x40
jbe 0x4b1a29
mov edx, dword [ebp + 0x50]
xor ecx, ecx
mov eax, dword [eax + 0xc]
cmp ecx, edx
jb 0x4b1a17
mov ecx, dword [ebp + 0x40]
ja 0x4b19ff
cmp eax, ecx
jb 0x4b1a15
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 0x4b1a29
xor ecx, ecx
cmp ecx, dword [ebp + 0x44]
jb 0x4b1a29
ja 0x4b1a23
cmp eax, dword [ebp + 0x48]
jb 0x4b1a29
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.004af261
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 0x4b19c4
jmp 0x4b1ae4
cmp esi, 1
jne 0x4b1c35
mov eax, dword [ebp + 0x34]
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.004af84a
mov esi, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
cmp byte [esi + 0x26], 0
je 0x4b1abe
mov eax, dword [esi + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x50]
cmp edi, esi
jb 0x4b1aac
ja 0x4b1a93
cmp eax, dword [ebp + 0x40]
jb 0x4b1aac
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 0x4b1abe
cmp edi, edx
jb 0x4b1abe
ja 0x4b1ab6
cmp eax, ecx
jb 0x4b1abe
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.004af261
mov edi, dword [ebp + 0x60]
mov esi, dword [ebp + 0x4c]
inc esi
mov dword [ebp + 0x4c], esi
cmp esi, dword [ebx + 0x18]
jae 0x4b1afe
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
jmp 0x4b1941
mov ecx, dword [ebp + 0x44]
xor edx, edx
mov eax, dword [ebp + 0x48]
cmp ecx, edx
ja 0x4b1b11
cmp eax, 0x100000
jb 0x4b1b27
shld ecx, eax, 1
add eax, eax
cmp dword [ebp + 0x50], ecx
ja 0x4b1b27
jb 0x4b1b23
cmp dword [ebp + 0x40], eax
jae 0x4b1b27
or dword [ebx + 0x38], 0xffffffff
mov esi, edx
cmp dword [ebx + 0x40], edx
jbe 0x4b1b6a
mov edi, edx
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + edi + 8], edx
jge 0x4b1b5c
cmp dword [ecx + edi + 4], edx
jge 0x4b1b5c
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 0x4b1b67
xor edx, edx
inc esi
add edi, 0x10
cmp esi, dword [ebx + 0x40]
jb 0x4b1b30
jmp 0x4b1b6a
mov dword [ebx + 0x38], esi
xor eax, eax
mov edi, eax
cmp dword [ebx + 0x94], eax
jbe 0x4b1bbb
lea eax, [ebx + 0x6c]
test edi, edi
je 0x4b1b84
mov ecx, eax
call fcn.00402cc2
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x6c]
mov esi, dword [eax + edi*4]
push esi
call fcn.00402a78
push 0x578c84
lea ecx, [ebx + 0x6c]
call fcn.00402aad
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0x6c]
call fcn.00402a78
inc edi
lea eax, [ebx + 0x6c]
cmp edi, dword [ebx + 0x94]
jb 0x4b1b79
lea esi, [ebx + 0x90]
mov edx, 0x5852d4
mov ecx, esi
call fcn.004b0512
test eax, eax
js 0x4b1be5
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x84]
add eax, 0xc
push eax
call fcn.0040272f
mov edx, 0x5852e8
mov ecx, esi
call fcn.004b0512
add ebx, 0x78
test eax, eax
js 0x4b1c08
mov ecx, dword [esi]
mov eax, dword [ecx + eax*4]
mov ecx, ebx
add eax, 0xc
push eax
call fcn.0040272f
mov edx, 0x5852f8
mov ecx, esi
call fcn.004b0512
mov edi, eax
test edi, edi
js 0x4b1c31
mov ecx, ebx
call fcn.00402d98
mov edx, dword [esi]
mov ecx, ebx
mov eax, dword [edx + edi*4]
add eax, 0xc
push eax
call fcn.00402a78
xor eax, eax
mov esi, eax
push dword [ebp + 0x28]
call fcn.0056651e
pop ecx
mov eax, esi
jmp 0x4b1c45
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