Function at 0x1004cfe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126e48
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10182014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0xfc], eax
xor eax, eax
mov byte [ebp - 0x108], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xe8], eax
movups xmmword [ebp - 0x48], xmm0
call fcn.1004ec00
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1004d07d
cmp dword [ebp - 0x3c], edi
jne 0x1004d07d
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
cmp dword [eax + 0x14], 8
jb 0x1004d09d
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 2
push 0x400
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x1004d1b1
mov dword [esi + 0x18], 0x64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004daee
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CryptQueryObject_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x582
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
je 0x1004d1a0
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
call fcn.10026ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004480
jmp 0x1004daee
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 6
push dword [ebp - 0xf0]
call dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
jne 0x1004d294
mov dword [esi + 0x18], 0x65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004daee
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CryptMsgGetParam_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x591
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
push dword [ebp - 0xe8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x100], eax
test eax, eax
jne 0x1004d379
mov eax, dword [ebp - 0xe8]
add eax, 0x80000000
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004daee
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.LocalAlloc_failed__Unable_to_allocate_memory_for_Signer_info._error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x59b
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
lea ecx, [ebp - 0xe8]
push ecx
push eax
push 0
push 6
push dword [ebp - 0xf0]
call dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
jne 0x1004d45b
mov dword [esi + 0x18], 0x66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004daee
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CryptMsgGetParam_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x5a9
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x100]
push eax
call fcn.1004ccc0
test eax, eax
je 0x1004d528
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x1004d4b4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d490
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push dword [ebp - 0x114]
lea ecx, [ecx + 0x38]
call fcn.100044e0
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x1004d4e5
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d4c1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push dword [ebp - 0x110]
lea ecx, [ecx + 0x50]
call fcn.100044e0
mov edx, dword [ebp - 0x10c]
test edx, edx
je 0x1004d5f1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x104], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004d500
sub ecx, dword [ebp - 0x104]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push edx
lea ecx, [ecx + 0x68]
call fcn.100044e0
jmp 0x1004d5f1
cmp dword [0x101823bc], 0
je 0x1004d5f1
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004d5f1
cmp dword [eax + 0x58], 5
jb 0x1004d5f1
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push dword [ebp - 0x38]
push str.GetProgAndPublisherInfo_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x5c3
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
je 0x1004d5e5
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
call fcn.10026ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004480
mov ecx, dword [ebp - 0x100]
push 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0xec]
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1004d70c
mov dword [esi + 0x18], 0x67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x101823bc], 0
je 0x1004daee
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push dword [esi + 0x1c]
push str.CertFindCertificateInStore_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x5d5
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
push dword [ebp - 0xfc]
mov ecx, esi
push 0
push eax
call fcn.1004c630
mov ecx, dword [ebp - 0x108]
test eax, eax
lea eax, [ebp - 0x38]
movzx ecx, cl
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x38], 0
mov edx, 1
push eax
mov eax, dword [ebp - 0x100]
cmovne ecx, edx
push eax
mov dword [ebp - 0x108], ecx
call fcn.1004ce90
test eax, eax
je 0x1004da1f
mov edi, dword [ebp - 0xf8]
push 0
mov eax, dword [edi + 4]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0xec]
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x1004d868
cmp dword [0x101823bc], eax
je 0x1004daee
push eax
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CertFindCertificateInStore_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x5ef
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
push dword [ebp - 0xfc]
mov ecx, esi
push 1
push eax
call fcn.1004c630
xor esi, esi
mov dword [ebp - 0x38], 0
cmp dword [edi + 0x34], esi
jbe 0x1004daee
mov eax, dword [ebp - 0xf8]
xor edi, edi
mov eax, dword [eax + 0x38]
push dword [eax + edi]
push str.1.2.840.113549.1.9.5
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1004d8bb
mov eax, dword [ebp - 0xf8]
inc esi
add edi, 0xc
cmp esi, dword [eax + 0x34]
jb 0x1004d892
jmp 0x1004dae8
mov edi, dword [ebp - 0xf8]
lea ecx, [esi + esi*2]
mov dword [ebp - 0x38], 8
mov eax, dword [edi + 0x38]
mov eax, dword [eax + ecx*4 + 8]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push 0
push dword [eax]
push dword [eax + 4]
push str.1.2.840.113549.1.9.5
push 0x10001
call dword [sym.imp.CRYPT32.dll_CryptDecodeObject]
test eax, eax
jne 0x1004d9ad
cmp dword [0x101823bc], eax
je 0x1004daee
push eax
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004daee
cmp dword [eax + 0x58], 5
jb 0x1004daee
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CryptDecodeObject_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x4fb
push str.RC::RCFileSignature::GetDateOfTimeStamp
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
jmp 0x1004d190
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x56]
movzx ecx, word [ebp - 0x58]
dec eax
movzx edi, word [ebp - 0x4c]
movzx esi, word [ebp - 0x50]
movzx edx, word [ebp - 0x52]
mov dword [ebp - 0x24], eax
lea eax, [ecx - 0x76c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
movzx edi, word [ebp - 0x4e]
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov ecx, dword [ebp - 0xfc]
add esp, 4
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
jmp 0x1004dae8
cmp dword [0x101823bc], 0
je 0x1004dae8
push 0
mov ecx, 0x101823b8
call fcn.10025e00
mov eax, dword [0x101823bc]
cmp byte [eax + 0x54], 0
je 0x1004dae8
cmp dword [eax + 0x58], 5
jb 0x1004dae8
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xf1], al
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 byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push dword [ebp - 0x38]
push str.GetTimeStampSignerInfo_failed__error_code__0x_X_
push eax
call fcn.100b1460
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push 0x5fe
push str.RC::RCFileSignature::GetEmbeddedFileSignature
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgr_framework_src_framework_src_file_rcfilesignature.cpp
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]
cmp byte [ebp - 0xf1], 0
je 0x1004dadc
lea eax, [ebp - 0x28]
mov ecx, 0x101823b8
push eax
call fcn.10026ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004480
mov edi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test ecx, ecx
je 0x1004db01
push ecx
call esi
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x1004db0e
push ecx
call esi
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1004db1b
push eax
call esi
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x1004db28
push eax
call esi
test edi, edi
je 0x1004db2f
push edi
call esi
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x1004db40
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x1004db53
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x1004db64
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1004db77
cmp dword [ebp - 0x3c], 0
jne 0x1004db77
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1004db8a
push dword [ebp - 0x3c]
call eax
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1004dba7
push eax
call esi
mov ecx, dword [ebp - 0x48]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1004dbc5
push ecx
call esi
mov ecx, dword [ebp - 0x48]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x48], ecx
mov al, byte [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011730d
mov esp, ebp
pop ebp
ret 8