Function at 0x46d8f0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510f88
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x50], ebx
push str._csSigName
lea ecx, [ebp - 0x30]
call fcn.004204a0
push str.IN_csIssuerName
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004204a0
push str.CheckExeSignaure
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004204a0
mov byte [ebp - 4], 2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00421890
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00421890
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00421890
mov byte [ebp - 4], 6
push dword [ebp + 0x10]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00421890
add esp, 0x10
mov byte [ebp - 4], 7
cmp dword [ebx + 0xc], 0
je 0x46d9d0
push 0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46d9f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46da13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46da33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46da53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46da70
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46da90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dad3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
xor al, al
push 2
mov dword [ebp - 4], 8
mov byte [ebp - 0x11], al
mov eax, dword [ebp + 8]
push 0x400
push dword [eax]
mov dword [ebp - 0x44], 0
push 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x46dd33
push str.CheckExeSignaure_CryptQueryObject_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 9
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dbb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dbd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dbef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dc0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CryptQueryObject
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.004204a0
mov byte [ebp - 4], 0xe
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [ebx + 0xc], 0
je 0x46dc90
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dcb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dcd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dced
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dd0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46dd2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x11]
jmp 0x46e325
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 6
push dword [ebp - 0x3c]
call esi
test eax, eax
jne 0x46df17
push str.CheckExeSignaure_CryptMsgGetParam_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x12
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ddd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ddf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46de10
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46de30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CryptMsgGetParam__size__error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x16
call fcn.004204a0
mov byte [ebp - 4], 0x17
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x18
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x1a
cmp dword [ebx + 0xc], 0
je 0x46deb1
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ded1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46def1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46df0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
jmp 0x46dcf1
push dword [ebp - 0x48]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x46e0f4
push str.CheckExeSignaure_LocalAlloc_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x1b
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dfb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dfd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46dfed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e00d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_LocalAlloc__info__error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1f
call fcn.004204a0
mov byte [ebp - 4], 0x20
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x21
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x23
cmp dword [ebx + 0xc], 0
je 0x46e08e
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e0ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e0ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x20
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e0eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
jmp 0x46dcf1
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0
push 6
push dword [ebp - 0x3c]
call esi
test eax, eax
jne 0x46e359
push str.CheckExeSignaure_CryptMsgGetParam_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x24
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x25
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e18d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e1ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e1ca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e1ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CryptMsgGetParam__info__error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x28
call fcn.004204a0
mov byte [ebp - 4], 0x29
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2a
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x2c
cmp dword [ebx + 0xc], 0
je 0x46e26b
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e28b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e2ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x29
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e2c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e2e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46e306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x11]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x46e317
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x46e325
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x46e335
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x46e343
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x38]
push 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd0]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0x44]
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
jne 0x46e572
push str.CheckExeSignaure_CertFindCertificateInStore_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x2d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x2e
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e42e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e44e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x2d
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e46b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e48b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CertFindCertificateInStore_error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x31
call fcn.004204a0
mov byte [ebp - 4], 0x32
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x33
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x35
cmp dword [ebx + 0xc], 0
je 0x46e50c
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e52c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e54c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x32
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e569
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
jmp 0x46e2cc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x46ee3f
push 0
push 0
push 0
push 1
push 4
push ecx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x46e754
push str.CheckExeSignaure_CertGetNameString_issuerName_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x36
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x37
call fcn.00421890
add esp, 4
push 0
mov edx, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x38
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x39
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x38
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e619
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x37
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x36
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e656
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e676
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CertGetNameString__issuerName_size__dwData
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x3a
call fcn.004204a0
mov byte [ebp - 4], 0x3b
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x3c
call fcn.00421890
add esp, 4
push 0
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3d
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x3e
cmp dword [ebx + 0xc], 0
je 0x46e6ee
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x3d
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e70e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3c
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e72e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x3b
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e74b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
jmp 0x46e2cc
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 8], eax
test eax, eax
jne 0x46e932
push str.CheckExeSignaure_LocalAlloc_issuerName_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x3f
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x40
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x42
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x41
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e7ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x40
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e80e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x3f
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e82b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e84b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_LocalAlloc__issuerName__error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x43
call fcn.004204a0
mov byte [ebp - 4], 0x44
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x45
call fcn.00421890
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x47
cmp dword [ebx + 0xc], 0
je 0x46e8cc
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x46
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e8ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x45
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e90c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x44
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e929
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x43
jmp 0x46e2cc
push esi
push eax
push 0
push 1
push 4
push dword [ebp - 0x34]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
jne 0x46eb02
push str.CheckExeSignaure_CertGetNameString_issuerName_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x48
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x49
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x4a
push dword [ebp - 0x30]
mov edx, eax
lea ecx, [ebp + 8]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x4b
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x4a
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e9c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x49
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e9e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x48
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ea03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ea23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CertGetNameString__issuerName_info__dwData
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x4c
call fcn.004204a0
mov byte [ebp - 4], 0x4d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x4e
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x4f
push dword [ebp - 0x30]
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x50
cmp dword [ebx + 0xc], 0
je 0x46ea9c
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x4f
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eabc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x4e
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eadc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x4d
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eaf9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x4c
jmp 0x46e2cc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, esi
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x46eb36
test dx, dx
je 0x46eb32
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46eb36
add ecx, 4
add eax, 4
test dx, dx
jne 0x46eb10
xor eax, eax
jmp 0x46eb3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x46ee35
push 0x54b724
lea ecx, [ebp - 0x2c]
call fcn.004204a0
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x51
call fcn.004204a0
push str.CheckExeSignaure_issuerName_invalid_
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x52
call fcn.004204a0
mov byte [ebp - 4], 0x53
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x54
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x55
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x56
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x57
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x58
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x57
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ec06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x56
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ec26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x55
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ec46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x54
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ec66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x53
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ec83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x52
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eca3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x51
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ecc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ece3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.004204a0
push str.invalid_issuer_name_szName
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x59
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x5a
call fcn.004204a0
mov byte [ebp - 4], 0x5b
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x5c
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x5d
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x5e
cmp dword [ebx + 0xc], 0
je 0x46ed6c
push 1
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x5d
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ed8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x5c
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46edac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x5b
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46edc9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x5a
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ede9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x59
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ee09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46ee27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x46e306
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push 4
push ecx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x46f012
push str.CheckExeSignaure_CertGetNameString_singName_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x5f
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x60
call fcn.00421890
add esp, 4
push 0
mov edx, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x61
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x62
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x61
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x60
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46eef7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x5f
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ef14
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46ef34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_CertGetNameString__singName_size__dwData
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x63
call fcn.004204a0
mov byte [ebp - 4], 0x64
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x65
call fcn.00421890
add esp, 4
push 0
mov edx, eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x66
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x67
cmp dword [ebx + 0xc], 0
je 0x46efac
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x66
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46efcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x65
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46efec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x64
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f009
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x63
jmp 0x46e2cc
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 8], eax
test eax, eax
jne 0x46f1f0
push str.CheckExeSignaure_LocalAlloc_singName_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x68
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x69
call fcn.00421890
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x6b
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x6a
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f0ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x69
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f0cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x68
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f0e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f109
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_LocalAlloc__singName__error
lea ecx, [ebp + 0x10]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x6c
call fcn.004204a0
mov byte [ebp - 4], 0x6d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x6e
call fcn.00421890
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x70
cmp dword [ebx + 0xc], 0
je 0x46f18a
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x6f
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f1aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x6e
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f1ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x6d
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f1e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x6c
jmp 0x46e2cc
push esi
push eax
push 0
push 0
push 4
push dword [ebp - 0x34]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
jne 0x46f371
push str.CheckExeSignaure_CertGetNameString_singName_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x71
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x72
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x73
push dword [ebp - 0x2c]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x74
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x73
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f284
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x72
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f2a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x71
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46f2bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.004205e0
push str.error_CertGetNameString__singName_info__dwData
lea ecx, [ebp + 8]
call fcn.00420550
push str.CheckExeSignaure
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x75
call fcn.004204a0
mov byte [ebp - 4], 0x76
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x77
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x78
push dword [ebp - 0x2c]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00421800
add esp, 4
mov byte [ebp - 4], 0x79
cmp dword [ebx + 0xc], 0
je 0x46f344
push 2
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
lea ecx, [ebp - 0x20]
call fcn.004205e0
lea ecx, [ebp - 0x28]
call fcn.004205e0
lea ecx, [ebp + 0xc]
call fcn.004205e0
lea ecx, [ebp + 0x10]
call fcn.004205e0
lea ecx, [ebp + 8]
call fcn.004205e0
jmp 0x46e306
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, esi
jmp 0x46f380
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x46f3a6
test dx, dx
je 0x46f3a2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46f3a6
add ecx, 4
add eax, 4
test dx, dx
jne 0x46f380
xor eax, eax
jmp 0x46f3ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46f3bf
push dword [ebp + 8]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x46e309
push 0x54b724
lea ecx, [ebp - 0x30]
call fcn.004204a0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x7a
call fcn.004204a0
push str.CheckExeSignaure_singName_invalid_
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x7b
call fcn.004204a0
mov byte [ebp - 4], 0x7c
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x7d
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x7e
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x7f
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x80
push dword [ebp + 0x10]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x81
mov ecx, dword [ebp + 0x14]
push eax
call fcn.004222b0
mov byte [ebp - 4], 0x80
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f482
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7f
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f4a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7e
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f4c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7d
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f4e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x7c
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f4ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7b
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f51f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x7a
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f53f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f55f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.004204a0
mov byte [ebp - 4], 0x82
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, str.invalid_sing_name_szName
mov byte [ebp - 4], 0x83
test eax, 0xffff0000
jne 0x46f5ab
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x46f5b8
push esi
push eax
lea ecx, [ebp + 0xc]
call fcn.00420bb0
jmp 0x46f5b8
push str.invalid_sing_name_szName
lea ecx, [ebp + 0xc]
call fcn.00420650
push str.CheckExeSignaure
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x84
call fcn.004204a0
mov byte [ebp - 4], 0x85
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x86
call fcn.00421890
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x87
call fcn.00421890
add esp, 4
mov byte [ebp - 4], 0x88
cmp dword [ebx + 0xc], 0
je 0x46f625
push 1
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [ebp - 4], 0x87
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f645
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x86
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f665
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x85
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f682
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x84
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f6a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x82
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46f6c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46f6e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
mov bl, byte [ebp - 0x11]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x46e309