Function at 0x10055700
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de998
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x1024e014]
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.10057320
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1005579d
cmp dword [ebp - 0x3c], edi
jne 0x1005579d
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 0x100557bd
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 0x100558d1
mov dword [esi + 0x18], 0x64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x1024e4e4], 0
je 0x1005620e
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558c0
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004570
jmp 0x1005620e
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 0x100559b4
mov dword [esi + 0x18], 0x65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x1024e4e4], 0
je 0x1005620e
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
push dword [ebp - 0xe8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x100], eax
test eax, eax
jne 0x10055a99
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 [0x1024e4e4], 0
je 0x1005620e
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
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 0x10055b7b
mov dword [esi + 0x18], 0x66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x1024e4e4], 0
je 0x1005620e
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
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.100553d0
test eax, eax
je 0x10055c48
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x10055bd4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10055bb0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push dword [ebp - 0x114]
lea ecx, [ecx + 0x38]
call fcn.100045d0
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x10055c05
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10055be1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push dword [ebp - 0x110]
lea ecx, [ecx + 0x50]
call fcn.100045d0
mov edx, dword [ebp - 0x10c]
test edx, edx
je 0x10055d11
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x104], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10055c20
sub ecx, dword [ebp - 0x104]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xfc]
push edx
lea ecx, [ecx + 0x68]
call fcn.100045d0
jmp 0x10055d11
cmp dword [0x1024e4e4], 0
je 0x10055d11
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x10055d11
cmp dword [eax + 0x58], 5
jb 0x10055d11
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x10055d05
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004570
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 0x10055e2c
mov dword [esi + 0x18], 0x67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
cmp dword [0x1024e4e4], 0
je 0x1005620e
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
push dword [ebp - 0xfc]
mov ecx, esi
push 0
push eax
call fcn.10054d40
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.100555a0
test eax, eax
je 0x1005613f
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 0x10055f88
cmp dword [0x1024e4e4], eax
je 0x1005620e
push eax
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
push dword [ebp - 0xfc]
mov ecx, esi
push 1
push eax
call fcn.10054d40
xor esi, esi
mov dword [ebp - 0x38], 0
cmp dword [edi + 0x34], esi
jbe 0x1005620e
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 0x10055fdb
mov eax, dword [ebp - 0xf8]
inc esi
add edi, 0xc
cmp esi, dword [eax + 0x34]
jb 0x10055fb2
jmp 0x10056208
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 0x100560cd
cmp dword [0x1024e4e4], eax
je 0x1005620e
push eax
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1005620e
cmp dword [eax + 0x58], 5
jb 0x1005620e
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100558b0
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 0x10056208
cmp dword [0x1024e4e4], 0
je 0x10056208
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x10056208
cmp dword [eax + 0x58], 5
jb 0x10056208
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.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
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.1002abd0
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 0x100561fc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004570
mov edi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test ecx, ecx
je 0x10056221
push ecx
call esi
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x1005622e
push ecx
call esi
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1005623b
push eax
call esi
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x10056248
push eax
call esi
test edi, edi
je 0x1005624f
push edi
call esi
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x10056260
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x10056273
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x10056284
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10056297
cmp dword [ebp - 0x3c], 0
jne 0x10056297
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100562aa
push dword [ebp - 0x3c]
call eax
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x100562c7
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 0x100562e5
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.101d284b
mov esp, ebp
pop ebp
ret 8