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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511fd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push esi
push edi
mov eax, dword [0x574be0]
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46e620
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 0x46e643
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 0x46e663
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 0x46e683
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 0x46e6a3
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 0x46e6c0
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 0x46e6e0
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 0x46e700
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 0x46e723
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 0x46e983
push str.CheckExeSignaure_CryptQueryObject_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 9
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46e802
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 0x46e822
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 0x46e83f
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 0x46e85f
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46e8e0
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 0x46e900
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 0x46e920
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 0x46e93d
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 0x46e95d
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 0x46e97b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x11]
jmp 0x46ef75
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 0x46eb67
push str.CheckExeSignaure_CryptMsgGetParam_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x12
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46ea23
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 0x46ea43
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 0x46ea60
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 0x46ea80
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46eb01
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 0x46eb21
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 0x46eb41
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 0x46eb5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
jmp 0x46e941
push dword [ebp - 0x48]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x46ed44
push str.CheckExeSignaure_LocalAlloc_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x1b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46ec00
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 0x46ec20
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 0x46ec3d
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 0x46ec5d
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46ecde
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 0x46ecfe
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 0x46ed1e
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 0x46ed3b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
jmp 0x46e941
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0
push 6
push dword [ebp - 0x3c]
call esi
test eax, eax
jne 0x46efa9
push str.CheckExeSignaure_CryptMsgGetParam_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x24
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46eddd
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 0x46edfd
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 0x46ee1a
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 0x46ee3a
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46eebb
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 0x46eedb
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 0x46eefb
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 0x46ef18
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 0x46ef38
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 0x46ef56
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 0x46ef67
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x46ef75
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x46ef85
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x46ef93
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 0x46f1c2
push str.CheckExeSignaure_CertFindCertificateInStore_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x2d
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46f07e
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 0x46f09e
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 0x46f0bb
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 0x46f0db
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f15c
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 0x46f17c
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 0x46f19c
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 0x46f1b9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
jmp 0x46ef1c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x46fa8f
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 0x46f3a4
push str.CheckExeSignaure_CertGetNameString_issuerName_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x36
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46f269
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 0x46f289
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 0x46f2a6
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 0x46f2c6
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f33e
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 0x46f35e
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 0x46f37e
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 0x46f39b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
jmp 0x46ef1c
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 8], eax
test eax, eax
jne 0x46f582
push str.CheckExeSignaure_LocalAlloc_issuerName_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x3f
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46f43e
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 0x46f45e
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 0x46f47b
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 0x46f49b
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f51c
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 0x46f53c
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 0x46f55c
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 0x46f579
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x43
jmp 0x46ef1c
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 0x46f752
push str.CheckExeSignaure_CertGetNameString_issuerName_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x48
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46f616
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 0x46f636
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 0x46f653
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 0x46f673
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f6ec
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 0x46f70c
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 0x46f72c
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 0x46f749
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x4c
jmp 0x46ef1c
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 0x46f786
test dx, dx
je 0x46f782
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46f786
add ecx, 4
add eax, 4
test dx, dx
jne 0x46f760
xor eax, eax
jmp 0x46f78b
sbb eax, eax
or eax, 1
test eax, eax
je 0x46fa85
push 0x54c724
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f856
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 0x46f876
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 0x46f896
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 0x46f8b6
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 0x46f8d3
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 0x46f8f3
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 0x46f913
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 0x46f933
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46f9bc
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 0x46f9dc
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 0x46f9fc
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 0x46fa19
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 0x46fa39
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 0x46fa59
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 0x46fa77
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 0x46ef56
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 0x46fc62
push str.CheckExeSignaure_CertGetNameString_singName_size_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x5f
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46fb27
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 0x46fb47
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 0x46fb64
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 0x46fb84
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46fbfc
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 0x46fc1c
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 0x46fc3c
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 0x46fc59
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x63
jmp 0x46ef1c
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp + 8], eax
test eax, eax
jne 0x46fe40
push str.CheckExeSignaure_LocalAlloc_singName_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x68
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46fcfc
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 0x46fd1c
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 0x46fd39
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 0x46fd59
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46fdda
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 0x46fdfa
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 0x46fe1a
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 0x46fe37
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x6c
jmp 0x46ef1c
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 0x46ffc1
push str.CheckExeSignaure_CertGetNameString_singName_info_
lea ecx, [ebp + 0xc]
call fcn.004204a0
mov byte [ebp - 4], 0x71
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46fed4
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 0x46fef4
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 0x46ff0f
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46ff94
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 0x46ef56
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, esi
jmp 0x46ffd0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x46fff6
test dx, dx
je 0x46fff2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46fff6
add ecx, 4
add eax, 4
test dx, dx
jne 0x46ffd0
xor eax, eax
jmp 0x46fffb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47000f
push dword [ebp + 8]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x46ef59
push 0x54c724
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x4700d2
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 0x4700f2
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 0x470112
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 0x470132
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 0x47014f
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 0x47016f
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 0x47018f
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 0x4701af
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x4701fb
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470208
push esi
push eax
lea ecx, [ebp + 0xc]
call fcn.00420bb0
jmp 0x470208
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x470275
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 0x470295
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 0x4702b5
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 0x4702d2
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 0x4702f2
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 0x470312
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 0x470330
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 0x46ef59