joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ba517
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be96d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100ba2c0
pop ecx
pop ecx
and dword [ebp - 4], 0
or dword [ebp - 0x10], 0xffffffff
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100ba60b
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100ba2c0
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100b7bd3
pop ecx
movzx eax, al
test eax, eax
jne 0x100ba5e2
lea eax, [ebp - 0x50]
push eax
call fcn.100b7bd3
pop ecx
movzx eax, al
test eax, eax
je 0x100ba5e2
push 0
lea ecx, [ebp - 0x30]
call fcn.10004de7
push eax
lea ecx, [ebp - 0x50]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100ba5e2
lea ecx, [ebp - 0x50]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x50]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001729
cmp dword [ebp - 0x10], 0xffffffff
je 0x100ba659
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100ba650
cmp dword [ebp - 0x54], 0xffffffff
je 0x100ba650
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ba650
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100ba650
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x59], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10001729
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4
Function at 0x100bace2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x101098a8]
and eax, 1
jne 0x100bad28
mov eax, dword [0x101098a8]
or eax, 1
mov dword [0x101098a8], eax
mov ecx, 0x101098a4
call fcn.10003b20
push 0x100c4adf
call fcn.10072537
pop ecx
mov ecx, 0x101098a4
call fcn.10030a5b
movzx eax, al
test eax, eax
je 0x100bad7b
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071b30
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x101098a4
call fcn.10003bd7
push 0x101098a4
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x100bada6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x101098b0]
and eax, 1
jne 0x100badec
mov eax, dword [0x101098b0]
or eax, 1
mov dword [0x101098b0], eax
mov ecx, 0x101098ac
call fcn.10003b20
push 0x100c4ad0
call fcn.10072537
pop ecx
mov ecx, 0x101098ac
call fcn.10030a5b
movzx eax, al
test eax, eax
je 0x100bae3f
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071b30
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x101098ac
call fcn.10003bd7
push 0x101098ac
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100bb265
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004b90
movzx eax, al
test eax, eax
jne 0x100bb294
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x43a54d30
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3771f99
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40864e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45141c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404ef0
mov byte [ebp - 4], 2
push str.SELECT__FROM_MATERIELCLASS_WHERE_NAME
lea ecx, [ebp - 0x18]
call fcn.00446f15
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00446fbb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x46abdc
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00447021
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00446ec5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00446d8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00446d8c
mov byte [ebp - 4], 5
push 7
push 0
push 0x46abe0
lea ecx, [ebp - 0x1c]
call fcn.00404f70
push 1
mov ecx, 0x4720e0
call fcn.00404eb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405930
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405210
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004058f0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405ad0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404c90
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x4087d5
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404c90
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x408807
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404cd0
jmp 0x40887c
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00410a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00446d8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00446d8c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ebab
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4520a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404ef0
mov byte [ebp - 4], 2
push str.SELECT__FROM_MATERIEL_WHERE_NAME
lea ecx, [ebp - 0x18]
call fcn.00446f15
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00446fbb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x46b47c
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00447021
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00446ec5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00446d8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00446d8c
mov byte [ebp - 4], 5
push 7
push 0
push 0x46b480
lea ecx, [ebp - 0x1c]
call fcn.00404f70
push 1
mov ecx, 0x4720e0
call fcn.00404eb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405930
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405210
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004058f0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405ad0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404c90
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x40ed32
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404c90
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x40ed64
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404cd0
jmp 0x40edd9
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00410a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00446d8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00446d8c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415d91
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45327d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404ef0
mov byte [ebp - 4], 2
push str.SELECT__FROM_PAYMODE_WHERE_NAME
lea ecx, [ebp - 0x18]
call fcn.00446f15
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00446fbb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x46bef4
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00447021
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00446ec5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00446d8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00446d8c
mov byte [ebp - 4], 5
push 7
push 0
push 0x46bef8
lea ecx, [ebp - 0x1c]
call fcn.00404f70
push 1
mov ecx, 0x4720e0
call fcn.00404eb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405930
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405210
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004058f0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405ad0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404c90
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x415f18
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404c90
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x415f4a
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404cd0
jmp 0x415fbf
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00410a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00446d8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00446d8c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42a3c7
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455e54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404ef0
mov byte [ebp - 4], 2
push str.SELECT__FROM_USERS_WHERE_NAME
lea ecx, [ebp - 0x18]
call fcn.00446f15
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00446fbb
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0x46dd78
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00447021
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00446ec5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00446d8c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00446d8c
mov byte [ebp - 4], 5
push 7
push 0
push 0x46dd7c
lea ecx, [ebp - 0x1c]
call fcn.00404f70
push 1
mov ecx, 0x4720e0
call fcn.00404eb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00405930
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00405210
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004058f0
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x88], eax
push 1
push 3
push 3
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00404d50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00405ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405ad0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404c90
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
test ecx, ecx
je 0x42a54e
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.00404c90
mov word [ebp - 0x96], ax
movsx edx, word [ebp - 0x96]
test edx, edx
jne 0x42a580
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00404f40
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00404cd0
jmp 0x42a5f5
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00410a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00446d8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00446d8c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440f10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00432c20
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x440fdb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x440fdb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x440f8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x440f99
or bh, 8
and edi, 0x8000000
je 0x440fb4
mov eax, dword [0x475a5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x440fdb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4413b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4413db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4413ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44141a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x442f64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x442f86
cmp dword [edi + 0x3c], 0
jne 0x442f86
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044d91a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00442fb3
pop edi
pop esi
pop ebx
ret 8

Function at 0x4445d5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x44460d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0044720c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004471e4
jmp 0x444619
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x445c0b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x445c4d
call fcn.0044d91a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x445c4d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x445c44
xor eax, eax
jmp 0x445c55
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00445c5b
pop edi
pop esi
pop ebx
ret 4

Function at 0x44b78f
Capabilities:
Create http request

Disassembly:
mov eax, 0x45643c
call fcn.004334fc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x44b7c7
call fcn.0044d91a
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x44b7ec
push eax
push dword [esi + 4]
call fcn.0044c46d
jmp 0x44b7f8
push esi
push eax
mov ecx, 0x473d40
call fcn.0044b809
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18