joyce8/EMBER2024-capa huggingface dataset:
Function at 0x625a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409918
mov eax, dword [ebp - 8]
call fcn.00409918
xor eax, eax
push ebp
push 0x625b93
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x625af1
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x625bb0
call fcn.0040aa0c
test eax, eax
jle 0x625ae6
push 0x625bc0
push dword [ebp - 4]
push 0x625bc0
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040a6b4
jmp 0x625af1
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409c5c
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.0040748c
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040748c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040a3d8
push eax
mov eax, dword [ebp - 4]
call fcn.0040a3d8
push eax
call sub.KERNEL32.DLL_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x625b78
test esi, esi
jbe 0x625b78
push esi
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625b9a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409894
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040c272
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040c272
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040c272
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040c272
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040c272
mov dword [0x41203c], eax
call fcn.0040c272
test eax, eax
jge 0x402550
push 8
call fcn.0040c272
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040c272
pop ecx
push 1
call fcn.0040c272
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040c272
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040c272
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040c272
jmp 0x402495

Function at 0x40c272
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40c281
pop dword [ebp - 0x3c]
mov eax, 0xd81e4c29
sub eax, 0xd7dd89a8
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3833a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x429e
mov edx, eax
mov ebx, 0x80db8ef5
add ebx, 0x7f65accf
add ebx, dword [ebp - 0x3c]
mov esi, 0x52369079
mov dword [ebp - 0x18], 0x2a5aa287
mov edi, dword [ebx]
sub dword [ebp - 4], 0xd377026f
sub edi, esi
xor dword [ebp - 0x14], edi
mov dword [edx], edi
mov dword [ebp - 0x2c], 0x64525ce0
add edx, 4
add ebx, 0x3f05548c
add ebx, 0xc0faab78
loop 0x40c2cf
add eax, 0xab100009
add eax, 0x54f0fd42
xor ebx, ebx
add ebx, eax
add eax, 0x1cef6926
sub eax, 0x1cef6921
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x402690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402728
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402708
xor eax, eax
push ebp
push 0x402701
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402744
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402708
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402df8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x402e59
cmp word [0x405208], 0xd7b2
jne 0x402e21
cmp dword [0x405210], 0
jbe 0x402e21
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402e80
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x402e75
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403134
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40319a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403038
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402584
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403184
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031a1
lea eax, [ebp - 0x10]
call fcn.00402f74
ret

Function at 0x403840
Capabilities:
Set global application hook

Disassembly:
mov eax, 0x405670
mov edx, 0x403874
call fcn.00402f98
push 0
mov eax, dword [0x405650]
push eax
mov eax, 0x403544
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x405668], eax
ret
Function at 0x101e952c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101f79e0]
jne 0x101e9536
repz ret
jmp fcn.101e97dd

Function at 0x101e9daf
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101f79c4], 0
mov byte [0x101f79c8], 0
mov dword [0x101f79bc], 0xdd8
mov dword [0x101f79b8], 0x1867
mov dword [0x101f79c0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f79c0]
add eax, 1
mov dword [0x101f79c0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101e9dfe
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x101f79b8], 0x1c52
mov dword [0x101f79c0], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add ecx, 0xfffff22e
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101f79cc], 0
mov edi, dword [0x101f79c4]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101f79cc], esi
mov dword [0x101f79b8], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101f79c4], edx
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x101f79c8], cl
mov dword [0x101f79b8], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101f79c8]
mov edx, dword [0x101f79c4]
mov byte [ebx + edx], cl
mov edx, dword [0x101f79bc]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x101f79b8], ecx
mov esi, dword [0x101f79c0]
add esi, 1
mov dword [0x101f79c0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], esi
jl 0x101e9e45
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101f79b8], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ea771
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101f79bc], 0xbaf
mov dword [0x101f79b8], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ec5fc]
mov dh, byte [eax + 0x101ec5cd]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x101ea79c
lea eax, [ebp - 0x20]
mov dword [0x101f79bc], 0x8c2
mov dword [0x101f79b8], 0x2310
mov dword [ebp - 0x30], eax
call fcn.101ea2c1
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101e9b43
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x101ea8b9
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101f79b8]
add ecx, 0xffffee8b
mov dword [0x101f79b8], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ea178
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101f79bc], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101f79b8], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x2c], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101ea8b9
mov eax, dword [ebp - 0x3c]
add eax, 0x2601
mov ecx, dword [0x101f79bc]
add ecx, 0xfffff237
mov dword [0x101f79b8], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x101ea94d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101eadb3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101f79b8], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101f79bc], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101eaa93
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x101eaa40
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jb 0x101eaa40
jmp 0x101eaa93
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101f79b8], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101f79bc], 0x114b
mov dword [ebp - 0x24], edx
jmp 0x101eaa93
mov al, byte [ebp - 0x35]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x101eaa5a
jmp 0x101eaa83
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x3d], cl
jne 0x101eaa15
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x101ea9e4
jmp 0x101ea9bb
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101eaa9e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f79bc]
add eax, 0xfffffd5c
mov dword [0x101f79bc], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101f79b8], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f79bc], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101eab56
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101eac0b
jmp 0x101eac1f
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x101eabac
jmp 0x101eac1f
mov eax, dword [ebp - 0x1c]
mov ecx, 0x35f0
mov dword [0x101f79b8], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x101eab85
jmp 0x101eac1f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x101eab2d
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x101eab56
jmp 0x101eab2d
mov eax, 0x199d
mov dword [0x101f79b8], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x101eab0d
jmp 0x101eac1f
mov eax, 0xfffff9e7
mov dword [0x101f79b8], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x101eac1f
mov eax, 0x29da
mov dword [0x101f79b8], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x101eac1f
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x101eaaed
jmp 0x101eac1f
mov eax, 1
mov dword [0x101f79bc], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x101eac2c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x101f79b8], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x101eaf4b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f79c0], 0
mov dword [0x101f79c4], 0
mov dword [0x101f79d0], 0
mov dword [0x101f79b8], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101eb09e
jmp 0x101eafc7
mov eax, dword [0x101f79c0]
mov ecx, dword [0x101f79c4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101f79c0], edx
mov dword [0x101f79b8], 0x97e
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101f79c4], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101f79c8], cl
mov ebx, dword [0x101f79bc]
add ebx, 0xfffff27d
mov dword [0x101f79b8], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101f79c8]
mov edx, dword [0x101f79c4]
mov byte [ebx + edx], cl
mov edx, dword [0x101f79c0]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101f79c4]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101f79d0], ecx
mov dword [0x101f79b8], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101f79b8], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x101eafb0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101eb0a6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101f79b8], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101ea444
lea ecx, [0x101e9d60]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], 0x140000
mov dword [0x101f79bc], 0x894
mov edx, dword [0x101f79a4]
mov dword [esp + 0x50], edx
mov edx, dword [0x101f79a8]
mov dword [esp + 0x28], edx
mov edx, dword [0x101f79ac]
mov dword [esp + 0x70], edx
mov edx, dword [0x101f79b0]
mov dword [esp + 0x64], edx
mov edx, dword [0x101f79b4]
mov dword [esp + 0x24], edx
mov dword [0x101f79b8], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101eb17e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [0x101f79bc], 0xe2d
mov dword [0x101f79b8], 0xf67
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x2c], edx
call fcn.101eaa9e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x101eb1b5
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101eb1a1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101eb13c
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101eb17e
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ea771
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101f79bc], 0x5b1
mov dword [esp + 8], eax
jmp 0x101eb176
Function at 0x402cb1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [0x42002c]
and dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 8], ecx
mov byte [ecx + esi], 0
test esi, esi
je 0x402d4c
mov eax, dword [ebp + 8]
mov esi, dword [0x420028]
push ebx
sub eax, ecx
push edi
mov edi, dword [0x420024]
mov dword [ebp - 0xc], eax
push str.XDSFCDR9VQ
call esi
push 0x4231e8
call esi
push 0x423278
call esi
mov ebx, dword [ebp - 4]
push dword [ebp + 0xc]
add ebx, dword [ebp - 8]
call fcn.00417312
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esp], 0x423308
mov al, byte [edx + eax]
xor al, byte [ecx + ebx]
mov byte [ebx], al
call edi
push 0x4233e8
call edi
push 0x4234c8
call edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x402cee
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x40528f
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d073
call fcn.0041730c
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040f19b
lea eax, [ebp - 0xa4]
push eax
call fcn.00404b31
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63e164]
push eax
call dword [0x63e0fc]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040f39b
push eax
call dword [0x63e060]
push dword [0x62d338]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63e13c]
test eax, eax
jne 0x405321
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x405455
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63e160]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x40544c
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62d188]
push dword [ebp - 0x3c]
push 0x42377c
push dword [ebp - 0x24]
call dword [0x63e194]
mov edi, eax
cmp edi, ebx
je 0x405445
cmp esi, ebx
je 0x405399
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63df68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63e128]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63e1ac]
test eax, eax
jne 0x4053e9
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040f1cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f1cf
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40547b
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041036e
pop ecx
cmp eax, 0xc8
jne 0x4053c6
cmp esi, ebx
je 0x405445
jmp 0x405440
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63e088]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x405445
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.004103bf
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x405421
cmp dword [ebp - 0x10], ebx
ja 0x405403
push edi
call dword [0x63e05c]
push dword [ebp - 0x24]
call dword [0x63e05c]
push dword [ebp - 0x18]
call dword [0x63e05c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040f1cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040f1cf
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret