Function at 0x1004c630
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10182014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov edx, 2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x40], 0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], ebx
lea eax, [ebx*2 + 1]
add eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10117d14
mov edx, eax
lea ecx, [ebx + ebx*2]
xor eax, eax
mov dword [ebp - 0x38], edx
add esp, 4
xor edi, edi
mov word [edx + ecx*2], ax
test ebx, ebx
je 0x1004c6e4
mov esi, dword [ebp - 0x30]
mov ebx, edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
movzx eax, byte [eax + esi - 1]
push eax
push str._02x
push ebx
call fcn.1004c600
inc edi
add esp, 0xc
add ebx, 6
cmp edi, esi
jb 0x1004c6b7
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
cmp byte [ebp + 0xc], 0
mov ecx, edx
lea edi, [ecx + 2]
je 0x1004c710
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004c6f0
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xb0
jmp 0x1004c726
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004c710
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
push edx
call fcn.100044e0
push dword [ebp - 0x38]
call fcn.10117b14
mov ebx, dword [ebp - 0x3c]
add esp, 4
push 0
push 0
push 0
push 1
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1004c82b
mov dword [esi + 0x18], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004cc47
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc47
cmp dword [eax + 0x58], 5
jb 0x1004cc47
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CertGetNameString_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x3e0
push str.RC::RCFileSignature::GetCertificateInfo
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
push 5
call fcn.100267a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004c817
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
call fcn.10026ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004480
jmp 0x1004cc47
add eax, eax
push eax
push 0x40
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x1004c8c5
mov eax, dword [ebp - 0x34]
add eax, 0x80000000
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], edi
je 0x1004cc47
push edi
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc47
cmp dword [eax + 0x58], 5
jb 0x1004cc47
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.Unable_to_allocate_memory_for_issuer_name__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x3eb
jmp 0x1004c7d9
push dword [ebp - 0x30]
push edi
push 0
push 1
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
jne 0x1004c9b7
mov dword [esi + 0x18], 0x69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004cc40
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc40
cmp dword [eax + 0x58], 5
jb 0x1004cc40
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CertGetNameString_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x3fa
push str.RC::RCFileSignature::GetCertificateInfo
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
push 5
call fcn.100267a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004c9a3
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
call fcn.10026ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004480
jmp 0x1004cc40
cmp byte [ebp + 0xc], 0
mov ecx, edi
lea edx, [ecx + 2]
je 0x1004c9e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004c9c2
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + 0x80]
jmp 0x1004c9f9
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004c9e0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + 0xc8]
push edi
call fcn.100044e0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1004caae
mov dword [esi + 0x18], 0x6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004cc47
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc47
cmp dword [eax + 0x58], 5
jb 0x1004cc47
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CertGetNameString_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x417
jmp 0x1004c7d9
add eax, eax
push eax
push 0x40
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x1004cb48
mov eax, dword [ebp - 0x34]
add eax, 0x80000000
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], edi
je 0x1004cc47
push edi
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc47
cmp dword [eax + 0x58], 5
jb 0x1004cc47
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.LocalAlloc_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x421
jmp 0x1004c7d9
push dword [ebp - 0x30]
push edi
push 0
push 0
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
jne 0x1004cbed
mov dword [esi + 0x18], 0x6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004cc40
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004cc40
cmp dword [eax + 0x58], 5
jb 0x1004cc40
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CertGetNameString_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
push 0x42f
jmp 0x1004c965
cmp byte [ebp + 0xc], 0
je 0x1004cc1b
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004cc00
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + 0x98]
jmp 0x1004cc33
mov edx, edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1004cc20
mov ecx, dword [ebp - 0x2c]
sub edx, esi
sar edx, 1
push edx
push edi
call fcn.100044e0
mov dword [ebp - 0x40], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011730d
mov esp, ebp
pop ebp
ret 0xc