joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4497e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4497fb
add esp, 0xfffffff0
call fcn.00403380
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041565c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e624]
call fcn.00403050
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40e624]
call fcn.00403050
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x417488]
call fcn.0041f5dc
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x44996c
mov eax, dword [0x4ecae4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041f980
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x44b2a8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ecae4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c12c
test eax, eax
je 0x4498eb
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c154
test eax, eax
je 0x4498ff
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00403ee4
mov eax, dword [0x4ec914]
cmp byte [eax], 0
jne 0x449930
mov eax, ebx
call fcn.00449a58
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449962
call fcn.004033d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449cb4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ed7b4]
cmp dword [eax + 0x24], 0
je 0x449d44
cmp dword [ebx + 0x7c], 0
jne 0x449d41
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x449c48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x449d41
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x449d10
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x449d41
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040fe20
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x449d1c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44a694
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44a6c9
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d9c
jmp 0x44a6d3
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403d50
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44b5d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44b610
mov eax, esi
call fcn.00434870
test al, al
je 0x44b610
mov eax, dword [ebx + 0x6c]
call fcn.00434448
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44b610
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00434448
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45318c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45321d
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00452ef0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004040f8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x453207
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4ecc1c]
call fcn.004057a4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x452e14]
call fcn.0040b4f8
call fcn.0040372c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453224
lea eax, [ebp - 0x10]
call fcn.00403cb8
ret
Function at 0x453298
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45341c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4ed858], 0
je 0x4533fe
lea eax, [ebp - 4]
mov edx, 0x4ed85c
call fcn.00403ed8
cmp dword [ebp - 4], 0
je 0x4533fe
mov edx, ebx
lea eax, [ebp - 0x20c]
call fcn.00402c18
mov edx, 0x45342c
lea eax, [ebp - 0x20c]
call fcn.00402bc0
mov edx, 0x453430
lea eax, [ebp - 0x20c]
call fcn.00402bc0
lea edx, [ebp - 0x20c]
lea eax, [ebp - 0xc]
call fcn.00403ed8
cmp esi, 3
jne 0x453331
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x45343c
call fcn.00403f80
cmp esi, 2
jne 0x45333c
inc dword [0x4ed854]
cmp esi, 1
jne 0x453351
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x45344c
call fcn.00403f80
cmp esi, 3
je 0x453373
mov ebx, dword [0x4ed854]
test ebx, ebx
jle 0x453373
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x453458
call fcn.00403f80
dec ebx
jne 0x453360
mov eax, dword [ebp - 0xc]
call fcn.00403f34
mov ebx, eax
test ebx, ebx
jle 0x45339a
mov edx, 1
lea eax, [ebp - 0x10c]
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + edx - 1]
mov byte [eax], cl
inc edx
inc eax
dec ebx
jne 0x45338c
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
push 0
push 4
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004040f8
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f34
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
cmp esi, 0xfffffffe
jne 0x4533fe
dec dword [0x4ed854]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453423
lea eax, [ebp - 0xc]
call fcn.00403cb8
lea eax, [ebp - 4]
call fcn.00403cb8
ret

Function at 0x455440
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov byte [esp], dl
mov bl, 0x14
sub al, 1
jb 0x45545b
je 0x45545f
dec al
jne 0x455461
mov bl, 0x91
jmp 0x455461
mov bl, 0x14
jmp 0x455461
mov bl, 0x90
lea eax, [esp + 1]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [0x4ece90]
cmp dword [eax], 2
jne 0x4554b2
xor eax, eax
mov al, bl
mov al, byte [esp + eax + 1]
cmp al, byte [esp]
je 0x4554c7
push 0
push 1
push 0
mov esi, ebx
and esi, 0xff
push esi
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
push 0
push 3
push 0
push esi
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
jmp 0x4554c7
mov al, byte [esp]
xor edx, edx
mov dl, bl
mov byte [esp + edx + 1], al
lea eax, [esp + 1]
push eax
call sub.user32.dll_SetKeyboardState
add esp, 0x104
pop esi
pop ebx
ret
Function at 0x4556cc
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4557be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ax, word [0x4557cc]
mov word [ebp - 7], ax
mov al, byte [0x4557ce]
mov byte [ebp - 5], al
push 0
call sub.user32.dll_GetKeyboardLayout
mov edi, eax
lea eax, [ebp - 0x107]
push eax
call sub.user32.dll_GetKeyboardState
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x45572c
mov eax, dword [ebp - 4]
mov byte [eax], 0
cmp ebx, 1
je 0x455736
cmp ebx, 3
jne 0x45573d
mov byte [ebp - 0xf7], 0x80
cmp ebx, 2
je 0x455747
cmp ebx, 3
jne 0x45574e
mov byte [ebp - 0xf5], 0x80
cmp ebx, 2
je 0x455758
cmp ebx, 3
jne 0x45575f
mov byte [ebp - 0xf6], 0x80
push edi
push 1
push esi
call sub.user32.dll_MapVirtualKeyExA
mov ebx, eax
cmp ebx, 0xba
jne 0x455777
mov ebx, 0xba
push edi
push 0
lea eax, [ebp - 7]
push eax
lea eax, [ebp - 0x107]
push eax
push esi
push ebx
call sub.user32.dll_ToAsciiEx
mov eax, dword [ebp - 4]
lea edx, [ebp - 7]
mov ecx, 3
call fcn.00402e9c
push 0
lea eax, [ebp - 7]
push eax
lea eax, [ebp - 0x107]
push eax
push esi
push ebx
call sub.user32.dll_ToAscii
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4557c5
ret

Function at 0x4568a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4569e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 9
call fcn.00408c24
mov ebx, eax
push ebx
call sub.user32.dll_GetKeyboardLayoutNameA
neg eax
sbb eax, eax
neg eax
mov esi, 1
cmp al, 1
jne 0x4569bd
lea eax, [ebp - 0x114]
push eax
lea edx, [ebp - 0x110]
mov eax, ebx
call fcn.00408c10
mov eax, dword [ebp - 0x110]
mov ecx, 3
mov edx, 4
call fcn.00404138
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00408240
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
mov ecx, 0xff
call fcn.00403f10
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
call fcn.00402c34
lea eax, [ebp - 0x114]
push eax
lea edx, [ebp - 0x110]
mov eax, ebx
call fcn.00408c10
mov eax, dword [ebp - 0x110]
mov ecx, 2
mov edx, 7
call fcn.00404138
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00408240
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
mov ecx, 0xff
call fcn.00403f10
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00402c34
xor esi, esi
mov eax, ebx
call fcn.00408c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569e9
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00403cdc
ret
Function at 0x4569f4
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
add esp, 0xfffffc14
mov esi, eax
xor ebx, ebx
push esp
push 0xfa
call sub.user32.dll_GetKeyboardLayoutList
mov edx, eax
dec edx
test edx, edx
jl 0x456a25
inc edx
mov eax, esp
mov cx, word [eax]
cmp cx, si
jne 0x456a1f
mov bl, 1
add eax, 4
dec edx
jne 0x456a15
mov eax, ebx
add esp, 0x3ec
pop esi
pop ebx
ret

Function at 0x457284
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
xor edx, edx
mov dword [ebp - 0x404], edx
mov dword [ebp - 0x408], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4573a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x400]
mov edx, ebx
call fcn.00402c18
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x400]
call fcn.00403ed8
mov eax, dword [ebp - 0x408]
lea edx, [ebp - 0x404]
call fcn.00408274
mov edx, dword [ebp - 0x404]
mov eax, 0x4573bc
call fcn.0040421c
test eax, eax
jne 0x45732b
lea eax, [ebp - 0x408]
mov edx, ebx
call fcn.00403ed8
mov ecx, dword [ebp - 0x408]
mov edx, dword [0x4eccb0]
mov edx, dword [edx]
lea eax, [ebp - 0x404]
call fcn.00403f80
mov edx, dword [ebp - 0x404]
lea eax, [ebp - 0x400]
mov ecx, 0xff
call fcn.00403f10
push 0xa
lea eax, [ebp - 0x300]
xor edx, edx
call fcn.00408ac4
push eax
lea eax, [ebp - 0x200]
xor edx, edx
call fcn.00408ac4
push eax
lea eax, [ebp - 0x404]
lea edx, [ebp - 0x400]
call fcn.00403ed8
mov edx, dword [ebp - 0x404]
lea eax, [ebp - 0x100]
call fcn.00408ac4
push eax
push 0
mov eax, dword [0x4eccb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.00434448
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4573aa
lea eax, [ebp - 0x408]
mov edx, 2
call fcn.00403cdc
ret

Function at 0x4573c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcfc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x304], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45747d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea eax, [ebp - 0x304]
mov edx, edi
call fcn.00403ed8
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x300]
call fcn.00408ac4
push eax
lea eax, [ebp - 0x304]
mov edx, esi
call fcn.00403ed8
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x200]
call fcn.00408ac4
push eax
lea eax, [ebp - 0x304]
mov edx, ebx
call fcn.00403ed8
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x100]
call fcn.00408ac4
push eax
push 0
mov eax, dword [0x4eccb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.00434448
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457484
lea eax, [ebp - 0x304]
call fcn.00403cb8
ret
Function at 0x457490
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040e8
mov eax, dword [ebp - 8]
call fcn.004040e8
xor eax, eax
push ebp
push 0x457525
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d58
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d58
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 8]
call fcn.004040f8
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004040f8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
neg eax
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45752c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cdc
ret

Function at 0x457df0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff490
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xb70], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x457f2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, esi
call fcn.00403f34
cmp eax, 0x807
jg 0x457f0c
mov dword [edi], 0x3c
xor eax, eax
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x65]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x21
lea eax, [ebp - 0x166]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x101
lea eax, [ebp - 0x1e7]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0x81
lea eax, [ebp - 0x268]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x81
lea eax, [ebp - 0xa69]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x801
lea eax, [ebp - 0xb69]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], 0x100
push edi
push 0x10000000
mov eax, esi
call fcn.00403f34
push eax
mov eax, esi
call fcn.004040f8
push eax
call sub.wininet.dll_InternetCrackUrlA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
mov eax, ebx
mov edx, dword [edi + 0x10]
call fcn.00403e6c
lea eax, [ebp - 8]
mov edx, dword [edi + 0x2c]
call fcn.00403e6c
lea eax, [ebp - 0xb70]
mov edx, dword [edi + 0x34]
call fcn.00403e6c
mov edx, dword [ebp - 0xb70]
lea eax, [ebp - 8]
call fcn.00403f3c
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.00403d0c
lea eax, [ebx + 0xc]
mov edx, dword [edi + 4]
call fcn.00403e6c
movzx eax, word [edi + 0x18]
mov dword [ebx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457f34
lea eax, [ebp - 0xb70]
call fcn.00403cb8
lea eax, [ebp - 8]
call fcn.00403cb8
ret
Function at 0x457f9c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004040e8
mov eax, dword [ebp - 0x14]
call fcn.004040e8
lea eax, [ebp - 0x434]
mov edx, dword [0x457dc0]
call fcn.00404470
xor eax, eax
push ebp
push 0x458203
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [ebp + 8], 1
jne 0x457ff3
mov ebx, 0x80000000
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x434]
mov eax, dword [ebp - 0x10]
call fcn.00457df0
test al, al
je 0x4581ca
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4581c3
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.00457f40
pop ecx
push 0
push 0x20000000
push 3
push 0
push 0
mov ax, word [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x434]
call fcn.004040f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4581a5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
jne 0x458085
lea eax, [ebp - 0x1c]
mov edx, 0x458220
call fcn.00403d50
jmp 0x458092
lea eax, [ebp - 0x1c]
mov edx, 0x45822c
call fcn.00403d50
push 0
push ebx
push 0
push 0
push 0x458234
mov eax, dword [ebp - 0x42c]
call fcn.004040f8
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004040f8
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x458187
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14], 0
jne 0x4580dd
lea eax, [ebp - 0x20]
call fcn.00403cb8
jmp 0x4580ea
lea eax, [ebp - 0x20]
mov edx, 0x458248
call fcn.00403d50
mov eax, dword [ebp - 0x14]
call fcn.00403f34
push eax
mov eax, dword [ebp - 0x14]
call fcn.004040f8
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403f34
push eax
mov eax, dword [ebp - 0x20]
call fcn.004040f8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpSendRequestA
push ebp
call fcn.00457f64
pop ecx
cmp dword [ebp - 8], 0xc8
je 0x45813b
call fcn.004037cc
call fcn.004037cc
call fcn.004037cc
jmp 0x4581ca
lea eax, [ebp - 0x24]
push eax
push 0x400
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x458170
cmp dword [ebp - 0x24], 0
je 0x458170
lea edx, [ebp - 0x424]
mov ecx, dword [ebp - 0x24]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x45813b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45818e
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45820a
lea eax, [ebp - 0x434]
mov edx, dword [0x457dc0]
call fcn.0040453c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403cdc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403cdc
ret
Function at 0x458a68
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x104], ebx
mov esi, edx
lea edi, [ebp - 0x100]
push ecx
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
pop ecx
mov edi, ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x458c3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x208], 1
jne 0x458abc
mov dword [ebx + 0x208], 0xfffffffd
mov esi, 0xfffffffd
jmp 0x458c25
mov esi, 1
lea eax, [ebx + 5]
lea edx, [ebp - 0x100]
call fcn.00402c18
dec edi
sub edi, 2
jb 0x458ae3
sub edi, 2
je 0x458bd9
jmp 0x458c1f
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00403ed8
mov eax, dword [ebp - 0x104]
call fcn.0040871c
test al, al
jne 0x458b15
mov dword [ebx + 0x208], 0xffffffff
or esi, 0xffffffff
jmp 0x458c25
cmp dword [ebp + 8], 0xfffffffe
jne 0x458b49
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00403ed8
mov eax, dword [ebp - 0x104]
mov ecx, 0x8000000
mov edx, 0x20
call fcn.004596ec
mov dword [ebx + 0x618], eax
jmp 0x458ba9
cmp dword [ebp + 8], 0xffffffff
jne 0x458b7d
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00403ed8
mov eax, dword [ebp - 0x104]
mov ecx, 0x8000000
mov edx, 0x12
call fcn.004596ec
mov dword [ebx + 0x618], eax
jmp 0x458ba9
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00403ed8
mov eax, dword [ebp - 0x104]
mov ecx, 0x8000000
mov edx, 0x42
call fcn.004596ec
mov dword [ebx + 0x618], eax
mov edi, dword [ebx + 0x618]
test edi, edi
jl 0x458bc8
mov esi, 1
push 0
push edi
call sub.kernel32.dll_GetFileSize_1
mov dword [ebx + 0x614], eax
jmp 0x458c1f
mov esi, 0xfffffffe
mov dword [ebx + 0x614], 0xffffffff
jmp 0x458c1f
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00403ed8
mov eax, dword [ebp - 0x104]
call fcn.00408624
mov esi, eax
mov dword [ebx + 0x618], esi
test esi, esi
jl 0x458c10
mov esi, 1
xor eax, eax
mov dword [ebx + 0x614], eax
jmp 0x458c1f
mov esi, 0xfffffffe
mov dword [ebx + 0x614], 0xffffffff
mov dword [ebx + 0x208], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c45
lea eax, [ebp - 0x104]
call fcn.00403cb8
ret
Function at 0x45945c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4595ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x620]
cmp eax, dword [ebx + 0x614]
jl 0x4594b9
mov eax, dword [ebp - 4]
mov edx, 0x459600
mov ecx, dword [ebp - 8]
call fcn.00402c34
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x208], eax
mov ebx, eax
jmp 0x4595d5
mov eax, dword [ebx + 0x208]
cmp eax, 1
je 0x4594cb
mov ebx, eax
jmp 0x4595d5
mov eax, dword [ebp - 4]
mov edx, 0x459600
mov ecx, dword [ebp - 8]
call fcn.00402c34
mov eax, dword [ebx + 0x620]
mov dword [ebp - 0xc], eax
mov eax, 0x100
call fcn.00408c24
mov edi, eax
mov edx, edi
mov ecx, 0x100
mov eax, dword [ebx + 0x618]
call fcn.00408648
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x118]
mov eax, edi
call fcn.00408c10
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0xff
call fcn.00403f10
lea edx, [ebp - 0x114]
mov eax, 0x459604
call fcn.00402aa8
mov esi, eax
test esi, esi
je 0x459543
cmp esi, dword [ebp - 0x10]
jle 0x45954e
mov esi, dword [ebp - 0x10]
inc esi
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x459555
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
dec ecx
xor edx, edx
lea eax, [ebp - 0x114]
call fcn.00402824
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00402c34
mov eax, edi
call fcn.00408c70
cmp byte [ebx + 4], 1
jne 0x4595a8
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
test edx, edx
jle 0x4595a8
mov eax, dword [ebp - 4]
inc eax
xor ecx, ecx
mov cl, byte [eax]
xor ecx, 0xf3
mov byte [eax], cl
inc eax
dec edx
jne 0x459598
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebx + 0x620], eax
xor ecx, ecx
mov edx, eax
mov eax, dword [ebx + 0x618]
call fcn.004086a0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x208], eax
mov ebx, dword [ebp - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4595f5
lea eax, [ebp - 0x118]
call fcn.00403cb8
ret