joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420690
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x42071d
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x42074b
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2480]
mov eax, dword [edi + 0x247c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x420706
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov eax, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x420755
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x420736
mov eax, dword [esi + 4]
test eax, eax
je 0x420736
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00421cd0
test eax, eax
je 0x420755
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x420e90
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [ecx + 4], 1
je 0x420f20
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x420f57
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x2480]
mov edx, dword [edi + 0x247c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x420f08
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0x3e5
sete dl
pop edi
pop esi
mov eax, edx
pop ebx
ret 4
cmp dword [esi], 0
jne 0x420f3a
mov eax, dword [esi + 4]
test eax, eax
je 0x420f3a
mov dword [esi + 0x18], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.00421cd0
test eax, eax
jne 0x420f57
push ebx
mov ecx, edi
call fcn.004217b0
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x421280
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ebx + 0x26dc]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov ecx, 0xa
xor eax, eax
lea ebp, [esi + 0x8040]
lea edx, [esi + 0x3c]
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x2000
mov edi, edx
mov dword [ebp], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x803c]
lea edi, [esi + 0x8058]
test eax, eax
mov dword [esi + 0x8054], edx
mov dword [edi], 0x8000
je 0x421310
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
sub edx, ecx
mov ecx, dword [eax + 0x14]
sbb ecx, dword [eax + 0x1c]
sub edx, dword [eax + 8]
sbb ecx, dword [eax + 0xc]
mov eax, edx
add eax, 1
adc ecx, 0
ja 0x4212fb
cmp eax, 0x8000
jbe 0x42130a
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x421351
mov dword [esp + 0x14], ecx
jmp 0x421351
mov eax, dword [ebx + 0x5d0b0]
mov ecx, dword [ebx + 0x5d0b4]
cmp eax, 0xffffffff
jne 0x421325
cmp ecx, eax
je 0x421353
mov edx, dword [ebx + 0x5d0c0]
sub eax, edx
mov edx, dword [ebx + 0x5d0c4]
sbb ecx, edx
ja 0x42133e
cmp eax, 0x8000
jbe 0x42134d
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x421351
mov dword [esp + 0x14], ecx
mov dword [edi], eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 9
cmp dword [ecx + 4], 1
je 0x421398
mov edx, dword [esi + 0x1c]
push esi
push 1
push ebp
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x4213ca
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [edi]
mov edx, dword [esi + 0x8054]
mov eax, dword [esi + 0x1c]
push edi
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4213ca
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4213e6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.004217b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x421b30
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x103c
call fcn.004f3f00
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x247c]
push edi
test eax, eax
mov dword [esp + 0x10], ebx
mov ebp, 0x50e2e4
je 0x421b58
mov ebp, str.POST
mov ax, word [0x53ada0]
mov esi, dword [esp + 0x1050]
mov word [esp + 0x4c], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x4c]
mov dword [esp + 0x1c], 0x50e2d0
mov dword [esp + 0x20], 0
lea ecx, [eax + 0x1048]
add eax, 0x48
push ecx
push eax
push 0x50c6a4
push 0x7ff
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [ebx + 0x62c64]
add esp, 0x14
test ecx, ecx
mov eax, 0x8400c300
je 0x421bc3
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x421bd1
or eax, 0x803000
mov ecx, dword [esi + 0x18]
push esi
lea edx, [esp + 0x20]
push eax
push edx
push 0
lea eax, [esp + 0x5c]
push str.HTTP_1.1
push eax
push ebp
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x421cb5
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea edx, [esp + 0x18]
push 4
push edx
push 2
push eax
mov dword [esp + 0x28], 0x3a98
call edi
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x14]
push 4
push eax
push 0x41
push ecx
mov dword [esp + 0x24], 1
call edi
mov ebp, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0xa2d0
mov dword [esp + 0x28], 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x421c83
mov ecx, 0x28b4
xor eax, eax
mov edi, ebx
push ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0xa2cf
push ebx
push esi
call fcn.00421dd0
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1c]
push esi
push 1
lea edx, [esp + 0x2c]
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test ebx, ebx
mov esi, eax
je 0x421ca6
push ebx
call fcn.004f3eca
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x103c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x103c
ret 4
Function at 0x422830
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov ax, word [0x53ada0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
xor ebp, ebp
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esi + 4]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
shl edi, 1
mov ecx, edi
push 2
neg ecx
push ebp
push ecx
push edx
call ebx
mov edx, dword [esi + 4]
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
push edx
call ebp
cmp edi, dword [esp + 0x10]
jne 0x422905
lea eax, [esp + 0x18]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x422905
mov edx, dword [esp + 0x10]
mov ecx, 0xfffffffc
push 1
sub ecx, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebx
mov edx, dword [esi + 4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
add eax, ecx
push 1
push 0
neg eax
push eax
push edx
call ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x422910
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x26ec]
mov dword [esp + 0xc], edi
cmp eax, edi
jne 0x42292d
mov dword [esp + 8], edi
jmp 0x42293c
mov ecx, dword [esi + 0x26f0]
sub ecx, eax
sar ecx, 2
mov dword [esp + 8], ecx
mov edx, dword [esi + 4]
push 2
push edi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 8], edi
je 0x4229e3
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edx
call ebx
mov ebp, 4
mov eax, dword [esi + 0x26ec]
test eax, eax
je 0x4229a6
mov ecx, dword [esi + 0x26f0]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x4229a6
mov ecx, dword [eax + edi*4]
lea edx, [esp + 0x14]
push 0
push edx
mov edx, dword [esi + 4]
push 0x20
push ecx
push edx
call ebx
add ebp, 0x20
inc edi
jmp 0x422974
mov edx, dword [esi + 4]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edx
mov dword [esp + 0x24], ebp
call ebx
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esi + 4]
add esp, 4
lea ecx, [esp + 0x14]
shl eax, 1
push 0
push ecx
push eax
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push edx
call ebx
pop ebp
pop ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
add esp, 8
ret
Function at 0x422d80
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov eax, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x8058]
mov esi, ecx
push edi
cmp dword [eax + 4], 1
jne 0x422d9c
mov ebp, dword [ebx]
mov eax, dword [esi + 0x26f8]
xor edi, edi
cmp eax, edi
je 0x422e7b
mov ecx, esi
call fcn.00422830
mov edi, dword [ebx + 0x803c]
push 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
add ecx, eax
mov eax, dword [edi + 0xc]
adc eax, edx
mov edx, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 4]
sar edx, 0x1f
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x422df7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x422ed2
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x422ed2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x422ed2
mov ecx, dword [edi + 0x18]
add ecx, eax
mov dword [edi + 0x18], ecx
mov ebp, dword [edi + 0x1c]
mov ecx, 0
adc ebp, ecx
mov dword [edi + 0x1c], ebp
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x5d0c0]
push eax
add edi, eax
push ebx
mov dword [esi + 0x5d0c0], edi
mov edx, dword [esi + 0x5d0c4]
adc edx, ecx
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.00422ee0
mov ecx, esi
call fcn.00422910
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x422ed2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x422ed2
mov ebp, dword [esi + 0x5d0c0]
push eax
add ebp, eax
push ebx
mov dword [esi + 0x5d0c0], ebp
mov edx, dword [esi + 0x5d0c4]
adc edx, edi
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.00422ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x425520
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x320
push ebx
push esi
push edi
mov ecx, 0x53adc0
call fcn.00408270
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x50c180
push 0x103
push 0x5a7cf8
call esi
add esp, 0x10
push str.360se_3.0
push 0x50c180
push 0x103
push 0x5a66a0
call esi
add esp, 0x10
push str.3.9
push 0x50c180
push 0x103
push 0x5a68a8
call esi
add esp, 0x10
push str.3.9.3.1
push 0x50c180
push 0x103
push 0x5a6ab0
call esi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x50c180
push 0x103
push 0x5a6cb8
call esi
mov ebx, dword [esp + 0x340]
add esp, 0x10
mov eax, dword [ebx]
push eax
push str.0x_08x
push 0x103
push 0x5a72d0
call esi
mov cx, word [0x53ada0]
xor eax, eax
mov word [esp + 0x134], cx
mov ecx, 0x81
lea edi, [esp + 0x136]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x103
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.00426280
add esp, 0x20
test eax, eax
je 0x42567d
push 0x103
lea edx, [esp + 0x128]
push 0x5a70c8
push edx
call fcn.00439220
add esp, 0xc
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x42564d
lea eax, [esp + 0x124]
push eax
push 0x50c180
push 0x103
push 0x5a6ec0
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push str.0x_08x
push 0x103
push 0x5a74d8
call esi
add esp, 0x10
jmp 0x425691
push str.unknown
push 0x103
push 0x5a6ec0
call esi
add esp, 0xc
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4256dd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push str._d._d._d__s
push 0x103
push 0x5a76e0
call esi
add esp, 0x1c
push 0x104
push 0x5a78e8
call fcn.004a55b0
add esp, 8
mov ecx, 0x53adc0
push 0
push str.user.dat
call fcn.00408460
push eax
push 0x50c180
push 0x103
push 0x5a7af0
call esi
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x320
ret

Function at 0x4257f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push str.GuardConfig.ini
rep stosd dword es:[edi], eax
mov ecx, 0x53adc0
stosw word es:[edi], ax
call fcn.00408330
push eax
push str._sdata_s
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00427cf0
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x214]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
add esp, 0x208
ret
Function at 0x425fc0
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov eax, 0x1258
call fcn.004f3f00
push esi
push edi
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
push 3
rep stosd dword es:[edi], eax
push esi
push esi
stosw word es:[edi], ax
mov eax, dword [0x5a8108]
push esi
push esi
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x42609a
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
cmp word [0x53b43c], si
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x426045
mov ecx, dword [0x5bdd68]
push 0x104
push 0x53b43c
push 0x32
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x5a8108]
mov ecx, dword [0x5bdd6c]
push esi
push 0x1800
lea edx, [esp + 0x18]
push 0x50de20
push edx
push str.Debugger_.exe_
push 0x53b43c
push eax
push ecx
call fcn.00439600
add esp, 0x20
test eax, eax
je 0x4260d1
lea edx, [esp + 0x10]
lea eax, [esp + 0x218]
push edx
push str.__s___p___ld__e___ld
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x4260d1
lea ecx, [esp + 0xc]
lea edx, [esp + 0x218]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push str.Debugger
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x1046
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x218], si
je 0x4260f4
lea ecx, [esp + 0x218]
push ecx
call fcn.00426100
add esp, 4
pop edi
pop esi
add esp, 0x1258
ret
mov eax, esi
pop edi
pop esi
add esp, 0x1258
ret
Function at 0x426100
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10b0
call fcn.004f3f00
xor eax, eax
push ebx
mov dword [esp + 0x18], eax
push esi
push eax
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x426226
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], bx
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x10c4]
push eax
push edx
lea eax, [esp + 0x80]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0x14
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
push edx
push eax
push ecx
push ecx
push ecx
push 1
push ecx
mov dword [esp + 0x34], ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x84], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42621e
mov edx, dword [esp + 0xc]
push 0xea60
lea eax, [esp + 0x2c]
push ebx
push eax
push 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x42620b
cmp eax, 1
jne 0x426210
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x426210
mov ebx, 1
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
push esi
call edi
test ebx, ebx
pop edi
jne 0x42626a
cmp word [0x53b43c], 0
jne 0x426248
mov eax, dword [0x5bdd68]
push 0x104
push 0x53b43c
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x53b43c
push 0xc38d
call fcn.0048bf20
mov ecx, dword [0x5a8108]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
pop esi
pop ebx
add esp, 0x10b0
ret
Function at 0x4267f0
Capabilities:
Copy file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov word [esp + 8], 0
push 0x53b234
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
add esp, 4
cmp eax, 0x103
jbe 0x42682c
mov eax, 0x103
jmp 0x426836
push 0x53b234
call esi
add esp, 4
push eax
lea eax, [esp + 0xc]
push 0x53b234
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x426862
mov word [eax], 0
cmp word [0x53b43c], 0
jne 0x426885
mov edx, dword [0x5bdd68]
push 0x104
push 0x53b43c
push 0x32
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x5a8108]
mov edx, dword [0x5bdd6c]
push 0
push 0
push 0x802
lea eax, [esp + 0xc]
push 0x50e9c4
push eax
push str.Dump_Files_.dmp_
push 0x53b43c
push ecx
push edx
call fcn.00439700
add esp, 0x24
test eax, eax
je 0x4268ce
lea eax, [esp]
push 0
push eax
push 0x5a7f00
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x208
ret

Function at 0x4268e0
Capabilities:
Delete file

Disassembly:
mov ecx, 0x5439f8
call fcn.0041f8f0
mov eax, dword [0x5a810c]
test eax, eax
je 0x42690b
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x5a810c], 0
cmp dword [0x5a0aa4], 7
jne 0x42692f
push 0xc358
call fcn.0048bf20
add esp, 4
push eax
mov eax, dword [0x5a8108]
push 0x421
push eax
jmp 0x426949
push 0xc359
call fcn.0048bf20
mov ecx, dword [0x5a8108]
add esp, 4
push eax
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push edi
push 0x5a0ac8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x5a8108]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 2
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [0x5a8108]
push 1
push 4
push eax
call esi
push eax
call edi
mov ecx, 0x5439f8
call fcn.0041f5c0
pop edi
pop esi
ret
Function at 0x4269e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x53efd4]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x426b46
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x50ea08
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x426b2e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x426b13
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x50ea04]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x426bb8
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret