Function at 0x4143a0
Capabilities:
Extract resource via kernel32 functions
Link many functions at runtime
Read file via mapping

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x44]
push 0
push 0
push 0
push 0
push edi
push esi
call fcn.00414b30
test eax, eax
je 0x4143d1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 8
test edi, edi
je 0x4143db
mov dword [edi], 0
mov ecx, esi
call fcn.00412400
test eax, eax
mov dword [esp + 0x34], eax
jne 0x4143fd
xor ecx, ecx
call fcn.00412460
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov ebx, dword [sym.imp.MSVCRT.dll_toupper]
mov dword [esp + 0x28], 0
mov edi, str._signature_
mov esi, 0x7fed7fed
mov ebp, 0xeeeeeeee
lea ebx, [ebx]
mov al, byte [edi]
test al, al
je 0x414458
movsx eax, al
push eax
inc edi
call ebx
movzx eax, al
add esp, 4
cmp eax, 0x2f
jne 0x41443d
mov eax, 0x5c
mov edx, dword [0x442fcc]
lea ecx, [esi + ebp]
imul ebp, ebp, 0x21
mov esi, dword [edx + eax*4]
xor esi, ecx
add ebp, eax
test edi, edi
lea ebp, [esi + ebp + 3]
jne 0x414420
mov edx, 1
mov ecx, str._signature_
call fcn.00414ab0
mov edx, 2
mov ecx, str._signature_
mov dword [esp + 0x40], eax
call fcn.00414ab0
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebp + 0x164]
mov edx, dword [ebp + 0x290]
lea edi, [ecx - 1]
and esi, edi
mov ecx, esi
shl ecx, 4
mov dword [esp + 0x24], eax
add ecx, edx
or eax, 0xffffffff
cmp dword [ecx + 0xc], 0xffffffff
mov ebx, esi
je 0x4144fc
mov ebp, dword [esp + 0x40]
cmp dword [ecx], ebp
jne 0x4144d8
mov ebp, dword [esp + 0x24]
cmp dword [ecx + 4], ebp
jne 0x4144d8
cmp dword [ecx + 0xc], 0xfffffffe
je 0x4144d8
mov bp, word [ecx + 8]
test bp, bp
jne 0x4144d8
cmp byte [ecx + 0xa], 0
je 0x4144f1
test bp, bp
jne 0x4144d8
cmp byte [ecx + 0xa], 0
jne 0x4144d8
mov eax, esi
inc esi
and esi, edi
cmp esi, ebx
je 0x4144f3
mov ecx, esi
shl ecx, 4
mov ebp, dword [ecx + edx + 0xc]
add ecx, edx
cmp ebp, 0xffffffff
jne 0x4144a5
jmp 0x4144f3
mov eax, esi
cmp eax, 0xffffffff
jne 0x414527
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41450a
mov dword [eax], 1
push 0x4dc
call fcn.00411cb0
mov ecx, ebp
call fcn.00412460
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
xor esi, esi
push str.advapi32.dll
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x4149f8
push esi
push 0xd80
push str.C:projectsStormSourceSFile.cpp
push 0x24
call fcn.0040e9d0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextA
mov edi, eax
push edx
mov dword [esp + 0x48], edi
call esi
test eax, eax
mov dword [edi], eax
je 0x4149f8
mov eax, dword [esp + 0x10]
push str.CryptCreateHash
push eax
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 4], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptDestroyHash
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 8], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptDestroyKey
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0xc], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptHashData
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0x10], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptImportKey
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0x14], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptReleaseContext
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0x18], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptSignHashA
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0x1c], eax
je 0x4149f8
mov edx, dword [esp + 0x10]
push str.CryptVerifySignatureA
push edx
call esi
test eax, eax
mov ecx, edi
mov dword [ecx + 0x20], eax
je 0x4149f8
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x439f40
lea edx, [esp + 0x2c]
push edx
mov esi, edi
call dword [esi]
test eax, eax
jne 0x41468c
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x439f40
lea eax, [esp + 0x2c]
push eax
call dword [esi]
test eax, eax
je 0x4149f8
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x140]
push 0
push 0
push 0
push 0x8000002
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4149f8
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4149f8
mov ebx, dword [sym.imp.MSVCRT.dll_toupper]
mov edi, str._signature_
mov esi, 0x7fed7fed
mov ebp, 0xeeeeeeee
mov al, byte [edi]
test al, al
je 0x41471e
movsx eax, al
push eax
inc edi
call ebx
movzx eax, al
add esp, 4
cmp eax, 0x2f
jne 0x414703
mov eax, 0x5c
mov edx, dword [0x442fcc]
lea ecx, [esi + ebp]
imul ebp, ebp, 0x21
mov esi, dword [edx + eax*4]
xor esi, ecx
add ebp, eax
test edi, edi
lea ebp, [esi + ebp + 3]
jne 0x4146e6
mov edi, str._signature_
mov ebx, 0x7fed7fed
mov ebp, 0xeeeeeeee
lea ecx, [ecx]
mov al, byte [edi]
test al, al
je 0x414770
movsx eax, al
push eax
inc edi
call dword [sym.imp.MSVCRT.dll_toupper]
movzx eax, al
add esp, 4
cmp eax, 0x2f
jne 0x414751
mov eax, 0x5c
mov edx, dword [0x442fcc]
lea ecx, [ebx + ebp]
imul ebp, ebp, 0x21
mov ebx, dword [edx + eax*4 + 0x400]
xor ebx, ecx
add ebp, eax
test edi, edi
lea ebp, [ebx + ebp + 3]
jne 0x414730
mov edx, 2
mov ecx, str._signature_
call fcn.00414ab0
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0x164]
mov ebp, dword [edi + 0x290]
lea edx, [ecx - 1]
and esi, edx
mov ecx, esi
shl ecx, 4
mov edi, dword [ecx + ebp + 0xc]
add ecx, ebp
mov dword [esp + 0x2c], eax
or eax, 0xffffffff
cmp edi, 0xffffffff
mov dword [esp + 0x30], esi
je 0x4149f8
cmp dword [ecx], ebx
jne 0x4147e2
mov edi, dword [esp + 0x2c]
cmp dword [ecx + 4], edi
jne 0x4147e2
cmp dword [ecx + 0xc], 0xfffffffe
je 0x4147e2
mov di, word [ecx + 8]
test di, di
jne 0x4147e2
cmp byte [ecx + 0xa], 0
je 0x4147ff
test di, di
jne 0x4147e2
cmp byte [ecx + 0xa], 0
jne 0x4147e2
mov eax, esi
mov ecx, dword [esp + 0x30]
inc esi
and esi, edx
cmp esi, ecx
je 0x414801
mov ecx, esi
shl ecx, 4
mov edi, dword [ecx + ebp + 0xc]
add ecx, ebp
cmp edi, 0xffffffff
jne 0x4147b3
jmp 0x414801
mov eax, esi
cmp eax, 0xffffffff
je 0x4149f8
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.00414b10
mov esi, eax
test dword [esi + 0xc], 0x1ff00
jne 0x4149ea
cmp dword [esi + 8], 8
jbe 0x4149ea
mov eax, dword [esi]
test eax, eax
je 0x4149ea
mov edx, dword [esp + 0x18]
mov eax, dword [eax + edx]
cmp eax, 1
mov dword [esp + 0x30], eax
jb 0x41485f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4149f8
mov dword [eax], 3
jmp 0x4149f8
mov eax, dword [eax*8 + 0x431794]
push str.256
push eax
call fcn.0041e730
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
call fcn.0041e730
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4148ba
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push edi
call fcn.0041e730
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x50]
push ebp
push edx
call dword [eax + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4149f8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [eax + 4]
test eax, eax
je 0x4149f8
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x27c]
mov edx, dword [esi]
mov ecx, dword [esp + 0x18]
sub edx, eax
push 0
push edx
mov edx, dword [esp + 0x1c]
add eax, ecx
push eax
mov eax, dword [esp + 0x4c]
push edx
call dword [eax + 0x10]
test eax, eax
je 0x4149f8
mov ecx, dword [esi + 8]
push 8
push 0xdd6
push str.C:projectsStormSourceSFile.cpp
push ecx
call fcn.0040e9d0
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x40]
push 0
mov edi, eax
mov eax, dword [esp + 0x18]
push edx
push edi
push eax
call dword [ecx + 0x10]
push 0
push 0xddb
push str.C:projectsStormSourceSFile.cpp
push edi
mov ebp, eax
call fcn.0040fb50
test ebp, ebp
je 0x4149f8
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x27c]
mov eax, dword [eax + 0x154]
mov edx, dword [esi + 8]
mov edi, dword [esi]
lea ebp, [edi + edx]
lea ebx, [eax + ecx]
cmp ebp, ebx
jae 0x4149a0
sub eax, edi
sub eax, edx
mov edx, dword [esp + 0x18]
push 0
add eax, ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x1c]
add ebp, edx
push ebp
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x4149f8
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
sub eax, 8
push eax
lea eax, [ecx + edx + 8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
push eax
push ecx
call dword [edx + 0x20]
test eax, eax
mov eax, dword [esp + 0x44]
je 0x4149ee
test eax, eax
mov dword [esp + 0x28], 1
je 0x4149f8
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx*8 + 0x431798]
mov dword [eax], edx
jmp 0x4149f8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4149f8
mov dword [eax], 2
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [esp + 0x40]
je 0x414a08
push eax
call dword [esi + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x414a14
push eax
call dword [esi + 0xc]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414a23
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x414a32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x414a55
push 0
push eax
call dword [esi + 0x18]
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x439f40
lea eax, [esp + 0x2c]
push eax
call dword [esi]
test esi, esi
je 0x414a6b
push 0
push 0xe04
push str.C:projectsStormSourceSFile.cpp
push esi
call fcn.0040fb50
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414a7a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x414a8c
push 0x4dc
call fcn.00411cb0
mov ecx, dword [esp + 0x34]
call fcn.00412460
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8