joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4528bc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452a67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452a48
mov dl, 1
mov eax, dword [0x412e60]
call fcn.004039fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404914
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452a37
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00444054
test al, al
je 0x452a2a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x452a78
lea eax, [ebp - 0x254]
call fcn.0040988c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452a2a
xor eax, eax
push ebp
push 0x452a23
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452ab0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452a0c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x452a0c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452a2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45292d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041738c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452a6e
lea eax, [ebp - 0x260]
call fcn.00404914
ret

Function at 0x4533e0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46bc98]
cmp byte [eax + 0xad], 0
jne 0x453451
cmp dword [0x46bcb4], 0
jne 0x453412
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45339c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bcb4], eax
cmp dword [0x46bcb0], 0
jne 0x45342d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bcb0], eax
cmp dword [0x46bcb8], 0
jne 0x453451
push esp
push 0
push 0
push 0x453340
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46bcb8], eax
pop edx
ret
Function at 0x453654
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45366b
add esp, 0xfffffff0
call fcn.00403d38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bb80
mov eax, dword [0x466b3c]
cmp word [eax + 2], 0
jne 0x453693
mov eax, dword [0x466b3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455344
mov eax, dword [0x466c3c]
cmp word [eax + 2], 0
jne 0x4536ad
mov eax, dword [0x466c3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455550
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4127f4]
call fcn.004039fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4127f4]
call fcn.004039fc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4127f4]
call fcn.004039fc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x420200]
call fcn.004260cc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x453864
mov eax, dword [0x466a0c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004264a0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455c14
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x466a0c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d39c
test eax, eax
je 0x4537b4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ea8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d3d0
test eax, eax
je 0x4537c8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b84
mov byte [ebx + 0xd4], 0
push ebx
push 0x454dd0
call fcn.0041ccfc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46688c]
cmp byte [eax], 0
jne 0x453819
mov eax, ebx
call fcn.004539a8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00455e28
mov eax, ebx
call fcn.0045698c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453859
call fcn.00403d90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453c28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x453cc7
cmp dword [ebx + 0x94], 0
jne 0x453cc1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453bb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453cc1
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 0x453c87
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453cc1
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414e3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453c96
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453ee0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46bc98]
cmp dword [eax + 0x30], 0
je 0x45403d
test bl, bl
jne 0x453f8e
cmp dword [esi + 0x9c], 0
jne 0x453f83
mov eax, esi
call fcn.00456808
push eax
push 0x453e0c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x453f54
mov eax, dword [0x46bc98]
call fcn.00456df8
test al, al
je 0x453f54
mov eax, dword [0x46bcbc]
call fcn.004057d0
mov edi, eax
cmp edi, 0
jl 0x453f54
push 0
mov eax, dword [0x46bcbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x453f3e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x453f83
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414e3c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x453f63
inc dword [esi + 0x9c]
jmp 0x45403d
cmp dword [esi + 0x9c], 0
jle 0x45403d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45403d
cmp dword [esi + 0x44], 0
je 0x453fe9
mov eax, dword [0x46bc98]
call fcn.00456df8
test al, al
je 0x453fe9
mov eax, dword [0x46bcbc]
call fcn.004057d0
mov edi, eax
cmp edi, 0
jl 0x453fe9
push 5
mov eax, dword [0x46bcbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x453fd3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x454018
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414e3c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x453ff8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46bcbc
mov ecx, 1
mov edx, dword [0x453dec]
call fcn.00405984
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x454b24
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x454b8e
mov eax, ebx
call fcn.00456df8
test al, al
jne 0x454b8e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a04
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x454b7b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x454b9b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404968
jmp 0x454b9b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404968
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45600c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45607a
mov eax, esi
call fcn.0043ee8c
test al, al
je 0x45607a
mov eax, dword [ebx + 0x84]
call fcn.0043eb90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45607a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45606e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043eb90
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00436c34
jmp 0x45607a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00455e48
pop esi
pop ebx
ret

Function at 0x457044
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00457130
test al, al
je 0x4570f1
xor eax, eax
push ebp
push 0x4570ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00457184
test al, al
jne 0x457085
call fcn.00404334
jmp 0x4570f1
xor eax, eax
push ebp
push 0x4570cd
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x4570b3
mov edx, 0x457104
mov eax, dword [ebp - 4]
call fcn.00457114
jmp 0x4570b7
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4570d4
mov eax, dword [ebp - 4]
call fcn.00456f98
ret
movzx eax, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4571dc
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00457130
test al, al
je 0x457297
xor eax, eax
push ebp
push 0x457290
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00457184
test al, al
jne 0x45721a
call fcn.00404334
jmp 0x457297
xor eax, eax
push ebp
push 0x457273
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.advapi32.dll_StartServiceA
test eax, eax
jne 0x457259
call sub.kernel32.dll_GetLastError
cmp eax, 0x420
je 0x457259
mov edx, 0x4572a8
mov eax, dword [ebp - 4]
call fcn.00457114
jmp 0x45725d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45727a
mov eax, dword [ebp - 4]
call fcn.00456f98
ret
movzx eax, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x403850
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp edi, 3
jge 0x403ac6
mov ecx, 0x5a1a20
nop dword [eax]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x40389d
cmp eax, 0x18f
ja 0x403897
imul eax, eax, 0xcc
mov byte [eax + ebx + 0x279f4], 0
mov dword [eax + ebx + 0x279f8], 0xffffffff
mov dword [ecx], 0xffffffff
add ecx, 4
cmp ecx, 0x5a1a80
jl 0x403870
lea esi, [ebx + 0xf2fc]
push str.SysCFG
mov ecx, esi
call fcn.00405d70
test edi, edi
jne 0x403ac6
xor eax, eax
mov ecx, 0x4c7ba8
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
nop
cmp dword [ebx + 0xaddf8], eax
jne 0x403962
cmp dword [0x5a1a24], 0xffffffff
jne 0x403943
lea esi, [ebx + 0x279f4]
xor edi, edi
nop dword [eax]
cmp byte [esi], 0
je 0x403909
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x4038f0
or edi, 0xffffffff
jmp 0x403938
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.00459860
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
mov dword [0x5a1a24], edi
cmp edi, 0xffffffff
je 0x403973
lea eax, [ecx + 0xbf8]
push eax
push dword [ecx]
push dword [ecx - 4]
mov ecx, ebx
push 8
push dword [0x5a1a24]
push 1
call fcn.00425bb0
jmp 0x40396d
lea eax, [ecx - 8]
mov ecx, esi
push eax
call fcn.00406290
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 0x84
lea esi, [ebx + 0xf2fc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, 0x4c7d34
jl 0x4038d0
cmp byte [ebx + 0xadde0], 0
mov ecx, ebx
je 0x4039a1
push 0xd
jmp 0x4039a3
push 0xe
push 0
call fcn.00403ad0
cmp byte [ebx + 0xadde1], 0
mov ecx, ebx
je 0x4039b9
push 0xf
jmp 0x4039bb
push 0x10
push 0
call fcn.00403ad0
cmp byte [ebx + 0xaddf3], 0
mov ecx, ebx
je 0x4039d1
push 0x18
jmp 0x4039d3
push 0x17
push 0
call fcn.00403ad0
cmp byte [ebx + 0xadddd], 0
mov ecx, ebx
je 0x4039e9
push 0x11
jmp 0x4039eb
push 0x12
push 0
call fcn.00403ad0
cmp byte [ebx + 0xaddde], 0
mov ecx, ebx
je 0x403a01
push 0x14
jmp 0x403a03
push 0x13
push 0
call fcn.00403ad0
cmp byte [ebx + 0xaddef], 0
mov ecx, ebx
je 0x403a19
push 0x16
jmp 0x403a1b
push 0x15
push 0
call fcn.00403ad0
cmp byte [ebx + 0xadce0], 0
mov ecx, ebx
je 0x403a31
push 0x28
jmp 0x403a33
push 0x27
push 0
call fcn.00403ad0
push 0x22
push 0
mov ecx, ebx
call fcn.00403ad0
mov esi, 0x4d1180
lea edi, [ebx + 0xf2fc]
push esi
mov ecx, edi
call fcn.00406290
add esi, 0x84
cmp esi, 0x4d1288
jl 0x403a50
cmp byte [ebx + 0xadcc1], 0
mov ecx, edi
je 0x403a78
push 0x4d0480
jmp 0x403a7d
push 0x4cb930
call fcn.00406290
cmp byte [ebx + 0xadcc3], 0
mov ecx, edi
je 0x403a94
push 0x4d0504
jmp 0x403a99
push 0x4cb9b4
call fcn.00406290
cmp byte [ebx + 0xadcc2], 0
mov ecx, edi
je 0x403abc
push 0x4d0588
call fcn.00406290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4cba38
call fcn.00406290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4114b0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xae089], 0
jne 0x41160a
cmp byte [esi + 0xae040], 0
je 0x4114e9
cmp byte [esi + 0xae041], 0
je 0x41160a
nop dword [eax + eax]
cmp byte [esi + 0xae040], 0
jne 0x4114e0
lea ecx, [esi + 0x2f0]
mov byte [esi + 0xae041], 0
call fcn.00450800
test eax, eax
setne al
mov byte [esi + 0xae042], al
test al, al
je 0x41153e
lea ecx, [esi + 0x2f0]
call fcn.00450800
cmp eax, 1
jne 0x41160a
push eax
movzx eax, byte [esi + 0xaddf5]
push ecx
push eax
movzx eax, byte [esi + 0xadb58]
mov ecx, esi
push eax
call fcn.004416a0
mov byte [esi + 0xae042], 0
mov eax, dword [esi + 0xf2dc]
mov ecx, esi
mov dword [esi + 0xae04c], eax
call fcn.00410130
mov al, byte [esi + 0xd749]
mov ecx, esi
mov byte [esi + 0xae050], al
mov dword [esi + 0xae054], 0
mov dword [esi + 0xae05c], 0x500
mov dword [esi + 0xae058], 0
mov dword [esi + 0xae060], 0x2d0
mov dword [esi + 0xae064], 0xff00ff
call fcn.0041c4e0
test al, al
jne 0x4115d7
mov eax, dword [esi + 0x218]
lea ecx, [esi + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b306c
push 0x4b1294
test eax, eax
jne 0x4115c5
push eax
call dword [0x4992bc]
jmp 0x4115d7
mov eax, dword [esi + 0x218]
lea ecx, [esi + 0x218]
call dword [eax + 0xb8]
push esi
push 0
push 0x40de20
mov byte [esi + 0xae040], 1
call fcn.004656bd
add esp, 0xc
mov dword [esi + 0xae048], eax
cmp eax, 0xffffffff
jne 0x411604
mov byte [esi + 0xae040], 0
pop edi
pop esi
pop ecx
ret
inc dword [esi + 0xf2f4]
pop edi
pop esi
pop ecx
ret
Function at 0x415160
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xf21c], 0
je 0x415179
call fcn.00412ad0
push 0x1a
mov ecx, edi
call fcn.00412dd0
cmp byte [edi + 0x5848], 0
je 0x415193
mov eax, dword [edi + 0x584c]
jmp 0x415199
mov eax, dword [edi + 0x5810]
cmp byte [edi + 0x5848], 0
mov dword [ebp - 4], eax
je 0x4151ad
mov eax, dword [edi + 0x5850]
jmp 0x4151b3
mov eax, dword [edi + 0x5814]
push 0x1e
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.004121b0
push eax
push 0x13
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.00413160
mov dword [edi + 0xf2d8], 1
lea esi, [edi + 0x279f4]
xor ebx, ebx
nop
cmp byte [esi], 0
je 0x4151fb
inc ebx
add esi, 0xcc
cmp ebx, 0x190
jl 0x4151e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.00459860
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp ebx, 0xffffffff
je 0x4152bb
push 0
push 0
push 0
push 0x1a
push ebx
push 1
mov ecx, edi
call fcn.00425bb0
imul eax, ebx, 0xcc
lea edx, [edi + 0x279f4]
add edx, eax
mov dword [ebp - 0x10], edx
je 0x4152b5
mov dword [edx + 8], 0x2f
mov eax, dword [edi + 0xf2dc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0xf2dc]
add eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx + 0x3c], 0xff
mov dword [edx + 0x40], 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], ecx
lea esi, [eax + eax*2]
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [edx + 0x30], esi
mov ecx, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xb0], 1
mov dword [edi + 0xf25c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4152d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xf21c], 0
je 0x4152e9
call fcn.00412ad0
push 0x1a
mov ecx, esi
call fcn.00412dd0
push 0x1b
mov ecx, esi
call fcn.00412dd0
cmp byte [esi + 0x5848], 0
je 0x41530c
mov eax, dword [esi + 0x584c]
jmp 0x415312
mov eax, dword [esi + 0x5810]
cmp byte [esi + 0x5848], 0
mov dword [ebp - 4], eax
je 0x415326
mov eax, dword [esi + 0x5850]
jmp 0x41532c
mov eax, dword [esi + 0x5814]
push 0x1e
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004121b0
push eax
push 0x13
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.00413160
lea edi, [esi + 0x279f4]
mov dword [esi + 0xf2d8], 1
xor eax, eax
mov ebx, edi
mov dword [ebp - 0xc], eax
nop dword [eax]
cmp byte [ebx], 0
je 0x415378
inc eax
add ebx, 0xcc
mov dword [ebp - 0xc], eax
cmp eax, 0x190
jl 0x415360
jmp 0x4153f4
lea ecx, [ebx + 0xb4]
mov byte [ebx], 1
call fcn.00459860
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 4], 1
mov ebx, dword [ebp - 0xc]
cmp ebx, 0xffffffff
je 0x4153f4
push 0
push 0
push 0
push 0x1b
push ebx
push 1
mov ecx, esi
call fcn.00425bb0
imul eax, ebx, 0xcc
lea ecx, [esi + 0x279f4]
add ecx, eax
je 0x4153ee
mov dword [ecx + 8], 0x20
mov eax, dword [esi + 0xf2dc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xf2dc]
add eax, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x40], 0
mov dword [esi + 0xf258], ebx
xor ebx, ebx
cmp byte [edi], 0
je 0x41541b
inc ebx
add edi, 0xcc
cmp ebx, 0x190
jl 0x4153f6
mov dword [esi + 0x1392c], 0x80000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xb4]
mov byte [edi], 1
call fcn.00459860
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 4], 1
cmp ebx, 0xffffffff
je 0x4154db
push 0
push 0
push 0
push 0x1a
push ebx
push 1
mov ecx, esi
call fcn.00425bb0
imul eax, ebx, 0xcc
lea edx, [esi + 0x279f4]
add edx, eax
mov dword [ebp - 0xc], edx
je 0x4154d5
mov dword [edx + 8], 0x2f
mov eax, dword [esi + 0xf2dc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xf2dc]
add eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx + 0x3c], 0xff
mov dword [edx + 0x40], 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], ecx
lea edi, [eax + eax*2]
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [edx + 0x30], edi
mov ecx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xb0], 1
mov dword [esi + 0xf25c], ebx
pop edi
mov dword [esi + 0x1392c], 0x80000001
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416620
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
je 0x41665a
call fcn.0045b040
mov edx, dword [ebp + 8]
mov ecx, edx
shr ecx, 1
je 0x41664b
call fcn.0045b020
movzx eax, ax
xor word [esi], ax
add esi, 2
sub ecx, 1
jne 0x416638
test dl, 1
je 0x41665a
call fcn.0045b020
movzx eax, ax
xor byte [esi], al
pop esi
pop ebp
ret
Function at 0x42efe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49688b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c5008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push 0
push 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push 0
push 0
push eax
mov dword [esi + 0x38], 0xa
mov dword [esi + 0x34], 0xffffffff
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x499304]
mov ecx, dword [esi + 0x30]
mov eax, 0x66666667
sub ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x38]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x42f0a9
cmp edi, 0x6666666
jbe 0x42f0a0
push str.vector_T__too_long
call fcn.00461116
push edi
lea ecx, [esi + 0x28]
call fcn.0042f140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431960
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496958
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c5008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0xc]
call fcn.00459660
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 0
call fcn.00459660
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 1
call fcn.00459660
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 2
call fcn.00459660
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 3
call fcn.00459660
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 4
call fcn.00459660
mov byte [ebp - 4], 5
lea ecx, [edi + 0x50]
mov dword [edi], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
call fcn.00459860
sub esp, 0x18
mov dword [edi + 4], 0
mov ecx, esp
mov dword [edi + 8], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
push str.data.fpk
mov dword [edi + 0x34], 0
call fcn.004596e0
lea ecx, [edi + 0x50]
call fcn.00459a00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret