joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c27d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4c5cd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x30]
call fcn.0042cc40
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401340
movzx eax, al
test eax, eax
jne 0x426d68
push 0
lea ecx, [ebp + 8]
call fcn.00401f30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x426c7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb7
jne 0x426c86
jmp 0x426d68
cmp dword [ebp - 0x34], 3
jne 0x426d36
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040b0d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00426e70
add esp, 8
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x30]
call fcn.0042cca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00401100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00443bc0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004254e0
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp + 8]
call fcn.004082e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00401100
jmp 0x426d63
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042a5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0x89]
jmp 0x426e52
jmp 0x426c42
lea ecx, [ebp - 0x30]
call fcn.0042cc60
movzx ecx, al
test ecx, ecx
jne 0x426e2a
push 0
lea ecx, [ebp - 0x30]
call fcn.0042cc80
push eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00425300
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp + 8]
call fcn.004082e0
mov ecx, eax
call fcn.00401f30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x8a], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00401100
movzx eax, byte [ebp - 0x8a]
test eax, eax
je 0x426e1d
mov byte [ebp - 0xa9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042a5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0xa9]
jmp 0x426e52
lea ecx, [ebp - 0x30]
call fcn.0042ccc0
jmp 0x426d68
mov byte [ebp - 0xaa], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042a5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401100
mov al, byte [ebp - 0xaa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4294a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00480c90
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
call fcn.00401f30
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4a98d0
mov ecx, dword [ebp - 0x54]
add ecx, 0xb8
call fcn.00401f30
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x429514
xor al, al
jmp 0x4295a5
push 0
push 0
push 0x12
mov edx, dword [ebp - 0x54]
add edx, 0xe0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x4c], esp
push edx
call fcn.0042b4d0
mov dword [ebp - 0x58], eax
call fcn.00447930
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0xe8
call fcn.00409400
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.00410bc0
add esp, 8
push eax
lea ecx, [ebp - 0x48]
call fcn.004295b0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004295d0
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4d], al
lea ecx, [ebp - 0x40]
call fcn.004295f0
mov al, byte [ebp - 0x4d]
mov esp, ebp
pop ebp
ret 4

Function at 0x42aab0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c5cd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004098f0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
call fcn.00401f30
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d228
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c5cd8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x42e160
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42e16c
mov al, 1
jmp 0x42e30f
mov dword [ebp - 0x10], 8
call fcn.0043c0c0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0043c0c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0043a520
add esp, 8
movzx eax, al
test eax, eax
je 0x42e1af
xor al, al
jmp 0x42e30f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004418f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0043cad0
mov ecx, eax
call fcn.00442820
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00422f90
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043cad0
mov ecx, eax
call fcn.00442820
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0042f6d0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42e22a
cmp dword [ebp - 0x6c], 1
je 0x42e231
cmp dword [ebp - 0x6c], 3
je 0x42e2cb
jmp 0x42e2e3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0043cad0
mov ecx, eax
call fcn.00442820
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x42e294
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043cad0
mov ecx, eax
call fcn.00442820
push eax
call fcn.00481814
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42e294
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402960
mov al, byte [ebp - 0x61]
jmp 0x42e30f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x42e2b7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402960
mov al, byte [ebp - 0x62]
jmp 0x42e30f
cmp dword [ebp - 0x38], 0
jne 0x42e2c9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0043e680
jmp 0x42e2fb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402960
mov al, byte [ebp - 0x63]
jmp 0x42e30f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402960
mov al, byte [ebp - 0x64]
jmp 0x42e30f
jmp 0x42e1c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00480438
mov esp, ebp
pop ebp
ret
Function at 0x43f0e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x20]
call fcn.0043fd90
movzx eax, al
test eax, eax
je 0x43f14e
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043f200
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043f200
push eax
push 0x4e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004063f0
mov ecx, eax
call fcn.004157c0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43f1ec
mov ecx, dword [ebp - 0x20]
call fcn.004227c0
movzx edx, al
test edx, edx
je 0x43f19c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043f200
and eax, 0xffff
movzx edx, ax
push edx
push 0x111
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004063f0
mov ecx, eax
call fcn.004157c0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43f1ec
push 1
push 0
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x28]
push edx
push 0x4aa004
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
mov eax, 0x20
cmp eax, dword [ebp - 0x14]
sbb ecx, ecx
neg ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x43f1ec
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 0x58]
or cl, 2
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x58], cl
push 1
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.0043e1b0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4476d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00410630
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x447860
push 0
push 0
call fcn.004824e5
add esp, 0x18
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040ffc0
movzx eax, al
test eax, eax
jne 0x447722
xor al, al
jmp 0x44772d
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1c], edx
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4477b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x4477ea
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4477ea
mov dword [ebp - 8], 1
jmp 0x4477f1
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x448240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49ed66
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4482b9
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ade0
push 0x4b4dd4
lea eax, [esp + 0x40]
push eax
call fcn.00480631
mov ecx, dword [esi]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4482f8
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ade0
push 0x4b4dd4
lea edx, [esp + 0x40]
push edx
call fcn.00480631
lea ecx, [esp + 0xc]
lea eax, [esp + 0x1c]
call fcn.00447bf0
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.00447bf0
mov eax, dword [esi]
push edi
push eax
mov dword [esp + 0x114], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x448358
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ade0
push 0x4b4dd4
lea ecx, [esp + 0x40]
push ecx
call fcn.00480631
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44839e
push 1
push str.mailru::resource::read
push str..Resource.cpp
push 0x29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb4]
call fcn.0040ade0
push 0x4b4dd4
lea eax, [esp + 0xa4]
push eax
call fcn.00480631
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00447bf0
mov ecx, eax
lea eax, [esp + 0x20]
call fcn.00447bf0
push esi
lea ecx, [esp + 0x28]
call fcn.004480c0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov byte [esp + 0x10c], 1
jne 0x4483d7
call fcn.00480621
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
push esi
push edx
push eax
call fcn.00482750
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x120]
call fcn.00448130
lea ecx, [esp + 0x24]
call fcn.0046b6c0
lea eax, [esp + 0x14]
call fcn.00447c70
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x104
ret 0xc
Function at 0x449820
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49f09b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.004497c0
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [esp + 0x98], ebx
mov esi, 0x104
lea ecx, [ecx]
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00409f20
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
sar eax, 1
jne 0x44988c
call fcn.00480621
mov ecx, dword [esp + 0x20]
push ecx
push esi
call edi
cmp eax, esi
jb 0x4498a0
cmp eax, ebx
je 0x449909
add esi, esi
jmp 0x449870
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
sar edx, 1
jne 0x4498b1
call fcn.00480621
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00401070
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4498d5
push eax
call fcn.00480047
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00480047
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
push 1
push str.mailru::path::tmp
push str..Path.cpp
push 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x40]
call fcn.0040ade0
push 0x4b4dd4
lea edx, [esp + 0x30]
push edx
call fcn.00480631
int3

Function at 0x449a70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49f0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0040b130
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x94], ebx
sar eax, 1
jne 0x449ac7
call fcn.00480621
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp byte [esp + 0xa4], bl
setne cl
push ecx
push edx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x449b19
push 1
push str.mailru::path::special
push str..Path.cpp
push 0x41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ade0
push 0x4b4dd4
lea ecx, [esp + 0x2c]
push ecx
call fcn.00480631
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
sar edx, 1
jne 0x449b2a
call fcn.00480621
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x9c]
push eax
mov ecx, esi
call fcn.00401070
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x449b4e
push eax
call fcn.00480047
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00480047
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x8c
ret
Function at 0x449fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f22f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ebp, [ebx + 1]
cmp dword [esp + 0x74], ebx
je 0x44a012
mov dword [esi + 0xc], 0x4a7dac
mov dword [esi + 0x4c], vtable.boost::exception.0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetACP]
call edi
push eax
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00402850
push eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x70], ebp
call fcn.00449cc0
add esp, 0x14
mov ebp, 0x10
mov byte [esp + 0x5c], 2
cmp dword [eax + 0x18], ebp
jb 0x44a050
mov eax, dword [eax + 4]
jmp 0x44a053
add eax, 4
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.00480744
cmp dword [esp + 0x34], ebp
jb 0x44a076
mov edx, dword [esp + 0x20]
push edx
call fcn.00480047
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x5c], 5
cmp dword [esp + 0x50], ebp
jb 0x44a09e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00480047
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x68]
mov dword [esi], vtable.mailru::exception.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0xc], vtable.mailru::exception.1.0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esi + 0x10], eax
call edi
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esi + 0x14]
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
call fcn.00449dc0
mov byte [esp + 0x5c], 6
call edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00449dc0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14
Function at 0x44c450
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
add ecx, 0x24
mov eax, edx
shr eax, 1
test dl, 1
je 0x44c463
xor eax, 0xedb88320
test al, 1
je 0x44c470
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c472
shr eax, 1
test al, 1
je 0x44c47f
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c481
shr eax, 1
test al, 1
je 0x44c48e
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c490
shr eax, 1
test al, 1
je 0x44c49d
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c49f
shr eax, 1
test al, 1
je 0x44c4ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c4ae
shr eax, 1
test al, 1
je 0x44c4bb
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c4bd
shr eax, 1
test al, 1
je 0x44c4ca
shr eax, 1
xor eax, 0xedb88320
jmp 0x44c4cc
shr eax, 1
mov dword [ecx], eax
inc edx
add ecx, 4
cmp edx, 0x100
jb 0x44c455
ret

Function at 0x44c4e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test edx, edx
jbe 0x44c50d
push ebx
push ebp
movzx ebx, byte [esi]
movzx ebp, al
xor ebx, ebp
shr eax, 8
xor eax, dword [ecx + ebx*4 + 0x24]
dec edx
inc esi
test edx, edx
ja 0x44c4f6
pop ebp
pop ebx
mov dword [edi], eax
pop edi
pop esi
ret 0xc
Function at 0x450ff0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4c5cd8]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x45104b
movzx cx, byte [esp + 0x1a4]
movzx dx, byte [esp + 0x1a0]
shl cx, 8
lea eax, [esp + 4]
push eax
or cx, dx
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.00480438
add esp, 0x194
ret

Function at 0x451b30
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4c7de8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
test eax, eax
je 0x451b81
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push method.boost::asio::io_service::service.virtual_8
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret

Function at 0x451cb0
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
jne 0x451cd2
mov esi, 0x2719
call fcn.0047ec30
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov dword [ecx + 4], eax
or eax, 0xffffffff
pop esi
ret
push ebx
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
call fcn.0047ec30
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jne 0x451d15
xor edi, edi
call fcn.0047ec30
mov dword [esi], edi
mov dword [esi + 4], eax
pop edi
mov eax, ebx
pop ebx
pop esi
ret