joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ed50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5979d9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x6207c0], 1
jne 0x43edaa
or dword [0x6207c0], 1
push 0x59dbe0
mov dword [0x6207bc], 0xf
mov dword [0x6207b8], ebx
mov byte [0x6207a8], bl
call fcn.0058effd
add esp, 4
cmp dword [0x6207b8], ebx
jne 0x43ee5d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 0x10
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043e5b0
push 0x5a2450
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040c6e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x6207a4
mov byte [esp + 0x60], 2
call fcn.0040b880
cmp dword [esp + 0x2c], 0x10
jb 0x43ee2c
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x43ee50
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, ebx
je 0x43ee5d
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x6207a4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret

Function at 0x43ee80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597a0c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x6207e0], 1
jne 0x43eeda
or dword [0x6207e0], 1
push 0x59dc10
mov dword [0x6207dc], 0xf
mov dword [0x6207d8], ebx
mov byte [0x6207c8], bl
call fcn.0058effd
add esp, 4
cmp dword [0x6207d8], ebx
jne 0x43ef8d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 2
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043e5b0
push 0x5a2450
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040c6e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x6207c4
mov byte [esp + 0x60], 2
call fcn.0040b880
cmp dword [esp + 0x2c], 0x10
jb 0x43ef5c
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x43ef80
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, ebx
je 0x43ef8d
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x6207c4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret
Function at 0x43efb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x597a37
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x40], ebx
call fcn.0043d560
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add esp, 8
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f04e
mov esi, dword [esp + 0x40]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
cmp edi, ebx
je 0x43f038
push edi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0043d560
push 0x800
mov edi, 0x400
push ebx
mov dword [esp + 0x3c], edi
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 0x10
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push edx
mov byte [esp + 0x50], 1
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43f0c1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x40]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
jmp 0x43f0e8
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x43f0da
cmp eax, 7
jne 0x43f0ae
mov edi, dword [esp + 0x40]
push esi
push edi
call fcn.0043e5b0
add esp, 8
cmp esi, ebx
je 0x43f0f5
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp ebp, ebx
je 0x43f102
push ebp
call sub.MSVCR90.dll_free
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x43f370
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620800], 1
jne 0x43f3cc
or dword [0x620800], 1
push 0x59dc70
mov dword [0x6207fc], 0xf
mov dword [0x6207f8], 0
mov byte [0x6207e8], 0
call fcn.0058effd
add esp, 4
cmp dword [0x6207f8], 0
jne 0x43f44e
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x1c
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f441
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x6207e4
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43f441
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43f44e
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x6207e4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret

Function at 0x43f470
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597ad3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620820], 1
jne 0x43f4cc
or dword [0x620820], 1
push 0x59dca0
mov dword [0x62081c], 0xf
mov dword [0x620818], 0
mov byte [0x620808], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620818], 0
jne 0x43f54e
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x1a
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f541
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620804
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43f541
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43f54e
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620804
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret
Function at 0x43f570
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x597afe
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620840], 1
jne 0x43f5cc
or dword [0x620840], 1
push 0x59dcd0
mov dword [0x62083c], 0xf
mov dword [0x620838], 0
mov byte [0x620828], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620838], 0
jne 0x43f64e
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x26
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f641
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620824
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43f641
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43f64e
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620824
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret

Function at 0x43f670
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x597b29
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620860], 1
jne 0x43f6cc
or dword [0x620860], 1
push 0x59dd00
mov dword [0x62085c], 0xf
mov dword [0x620858], 0
mov byte [0x620848], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620858], 0
jne 0x43f74e
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x2a
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f741
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620844
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43f741
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43f74e
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620844
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret
Function at 0x43f770
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597b54
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620880], 1
jne 0x43f7cc
or dword [0x620880], 1
push 0x59dd30
mov dword [0x62087c], 0xf
mov dword [0x620878], 0
mov byte [0x620868], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620878], 0
jne 0x43f84e
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 0
push 0x24
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f841
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620864
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43f841
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43f84e
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620864
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret

Function at 0x43f870
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597b7a
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, 1
xor ebx, ebx
mov esi, 0xf
test byte [0x6208a0], al
jne 0x43f8e2
or dword [0x6208a0], eax
push 0x59dd60
mov dword [0x62089c], esi
mov dword [0x620898], ebx
mov byte [0x620888], bl
call fcn.0058effd
add esp, 4
cmp dword [0x620898], ebx
jne 0x43f9b9
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x620884
mov dword [esp + 0x248], ebx
call fcn.0040b880
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x23c], 0xffffffff
jb 0x43f944
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x620898]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
cmp ecx, ebx
jbe 0x43f9b9
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x43f96c
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov ecx, dword [0x620898]
cmp dword [0x62089c], 0x10
mov eax, dword [0x620888]
jae 0x43f97f
mov eax, 0x620888
cmp byte [eax + esi], 0x2f
je 0x43f9b9
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x43f991
call sub.MSVCR90.dll__invalid_parameter_noinfo
cmp dword [0x62089c], 0x10
mov eax, dword [0x620888]
jae 0x43f9a4
mov eax, 0x620888
cmp byte [eax + esi], 0x5c
je 0x43f9b9
push 0x5a2450
mov ecx, 0x620884
call fcn.0040ba70
mov eax, 0x620884
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x234
ret
Function at 0x440020
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x198
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
mov esi, dword [esp + 0x1a0]
push edi
mov edi, dword [esp + 0x1a8]
lea eax, [esp + 0xc]
push eax
push 0x202
mov dword [esp + 0x10], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x440098
cmp dword [edi + 0x18], 0x10
jb 0x44006b
mov edi, dword [edi + 4]
jmp 0x44006e
add edi, 4
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x440098
cmp word [eax + 8], 2
jne 0x440098
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.0040c090
jmp 0x4400b8
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push 0x59fa81
mov ecx, esi
mov byte [esi + 4], 0
call fcn.0040bad0
mov ecx, dword [esp + 0x19c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0058ecc6
add esp, 0x198
ret
Function at 0x441c90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5981fe
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x240], eax
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
test byte [0x620c44], 1
jne 0x441d01
or dword [0x620c44], 1
push 0x59dd90
mov dword [0x620c40], 0xf
mov dword [0x620c3c], 0
mov byte [0x620c2c], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620c3c], 0
jne 0x441e19
lea eax, [esp + 0x44]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620c28
mov dword [esp + 0x264], 0
call fcn.0040b880
mov edi, 0x10
mov dword [esp + 0x258], 0xffffffff
cmp dword [esp + 0x40], edi
jb 0x441d6d
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x620c3c]
test ecx, ecx
jbe 0x441dd4
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x441d89
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov ecx, dword [0x620c3c]
mov eax, dword [0x620c2c]
cmp dword [0x620c40], edi
jae 0x441d9b
mov eax, 0x620c2c
cmp byte [eax + esi], 0x2f
je 0x441dd4
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x441dad
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov eax, dword [0x620c2c]
cmp dword [0x620c40], edi
jae 0x441dbf
mov eax, 0x620c2c
cmp byte [eax + esi], 0x5c
je 0x441dd4
push 0x5a2450
mov ecx, 0x620c28
call fcn.0040ba70
push str._installer_tmp_
call fcn.004408a0
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0040c6e0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620c28
mov dword [esp + 0x264], 1
call fcn.0040b780
cmp dword [esp + 0x24], edi
jb 0x441e19
mov edx, dword [esp + 0x10]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x620c28
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x250
ret
Function at 0x442ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5984ca
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 0
call fcn.0040e790
mov esi, dword [esp + 0xc0]
push 0x59fd2c
push esi
lea eax, [esp + 0x34]
push str.Error_code:
push eax
mov dword [esp + 0xc4], 1
call fcn.004199b0
add esp, 8
mov ecx, eax
call fcn.0044bce0
push eax
call fcn.004199b0
add esp, 8
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x800
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x442f7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x30]
push str.FormatMessage_error___code
push edx
call fcn.004199b0
add esp, 8
mov ecx, eax
call fcn.0044bce0
jmp 0x442fc7
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0043e5b0
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], 2
call fcn.00419e00
add esp, 0x10
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0xb4], 1
jb 0x442fbc
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0xbc]
push esi
lea ecx, [esp + 0x30]
call fcn.0040cd40
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], 1
mov byte [esp + 0xb4], 0
call fcn.0040ab40
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.0058e777
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xb0
ret
Function at 0x4431d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x598513
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x74], 2
call fcn.0043d560
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0043d560
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0043d560
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
add esp, 0x18
push 5
push esi
push edi
push ebp
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4432ab
cmp esi, ebx
je 0x44327b
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp edi, ebx
je 0x443288
push edi
call sub.MSVCR90.dll_free
add esp, 4
cmp ebp, ebx
je 0x443295
push ebp
call sub.MSVCR90.dll_free
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00443020
push eax
lea ecx, [esp + 0x38]
push str.ShellExecute_error:
push ecx
mov byte [esp + 0x80], 3
call fcn.0040c620
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x6187d0
mov byte [esp + 0x78], 4
call fcn.0040b880
mov ebp, 0x10
cmp dword [esp + 0x44], ebp
jb 0x4432fc
mov edx, dword [esp + 0x30]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x60], ebp
jb 0x44331f
mov eax, dword [esp + 0x4c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, ebx
je 0x44332c
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp edi, ebx
je 0x443339
push edi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x44334a
push eax
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x443a50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x598643
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 1
push 0xffffffffffffffff
push 0x5a2450
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0
call fcn.00449790
cmp eax, 0xffffffff
jne 0x443acc
push 1
push eax
push 0x5a1164
lea ecx, [esp + 0x20]
call fcn.00449790
cmp eax, 0xffffffff
je 0x443b03
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044a720
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x5c], 1
call fcn.00443780
add esp, 4
cmp dword [esp + 0x48], 0x10
jb 0x443b03
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x443b3b
cmp dword [esp + 0x2c], 0x10
jb 0x443b37
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x443b7c
mov ebx, dword [esp + 0x68]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x443b5d
cmp dword [esp + 0x10], ebx
jne 0x443b5d
mov bl, 1
jmp 0x443b5f
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], 0x10
jb 0x443b7a
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x4c
ret

Function at 0x443ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x598673
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x24], 0
call fcn.0043d560
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00443a50
add esp, 0x14
mov bl, al
test esi, esi
je 0x443c12
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret