joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff6a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], ecx
mov dword [esp], eax
mov dword [ebp - 0x34], 0x454964
mov dword [ebp - 0x30], 0x455d2a
mov dword [ebp - 0x2c], ebp
mov dword [ebp - 0x28], 0x410092
mov dword [ebp - 0x24], esp
call fcn.00442d0b
mov al, byte [0x45f024]
mov byte [ebp - 0x51], al
test al, al
je 0x41004c
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
mov eax, dword [eax]
and word [eax], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
or dword [ebp - 0x48], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push edx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x41003e
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
cmp dword [eax + 8], edx
jae 0x40ffec
xchg edx, eax
mov ecx, dword [ebp + 8]
or dword [ebp - 0x48], 0xffffffff
mov dword [esp], eax
call fcn.00404aba
push ecx
mov eax, dword [ebp - 0x50]
inc eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
or dword [ebp - 0x48], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
sub esp, 0xc
cmp eax, edx
mov ecx, dword [ecx]
cmova eax, edx
xor edx, edx
and word [ecx + eax*2], 0
cmp word [ecx + edx*2], 0
je 0x410030
inc edx
jmp 0x410026
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
test eax, eax
jne 0x4100af
or dword [ebp - 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete byte [ebp - 0x51]
jmp 0x4100af
lea ecx, [ebp - 0x14]
or dword [ebp - 0x48], 0xffffffff
call fcn.0040425a
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], 1
mov dword [esp], eax
call fcn.0040fee6
push edx
mov byte [ebp - 0x51], al
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
and dword [esp + 8], 0
mov dword [esp], eax
call fcn.004060cb
mov eax, dword [ebp - 0x14]
call fcn.0040f80c
jmp 0x4100af
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.00442d61
mov al, byte [ebp - 0x51]
leave
ret 4
Function at 0x4225ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov dword [ebp - 0xc], ecx
mov dword [esp], 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0xc]
push edx
mov edx, eax
mov eax, dword [ebp + 8]
mov bx, word [eax + 0xc]
cmp bx, 0x52
je 0x4225eb
cmp bx, 0x76
je 0x4225fb
xor eax, eax
cmp bx, 8
jne 0x422602
call fcn.004222e8
jmp 0x4225f7
xor eax, eax
test dx, dx
jns 0x422602
call fcn.0042216c
mov al, 1
jmp 0x422602
call fcn.004223d8
jmp 0x4225f7
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x4249c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push edx
push edx
mov dword [esp], eax
and dword [esp + 4], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
leave
ret
Function at 0x425668
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.00425156
and dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
leave
ret

Function at 0x429766
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x2dc], ebp
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0x454964
mov dword [ebp - 0x2e0], 0x456430
mov dword [ebp - 0x2d8], 0x42989c
mov dword [ebp - 0x2d4], esp
call fcn.00442d0b
mov eax, dword [ebp + 0xc]
or al, 0x80
cmp byte [0x45f024], 0
mov dword [ebp - 0x304], eax
jne 0x429843
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c8]
or dword [ebp - 0x2f8], 0xffffffff
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00405c67
lea eax, [ebp - 0x2bc]
mov dword [esp + 0x10], 0x4010
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x304]
mov dword [esp + 0xc], 0x160
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2f8], 1
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
sub esp, 0x14
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x429833
mov dword [esp], eax
call fcn.00454644
mov eax, dword [ebp - 0x2b8]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x4298cf
mov eax, dword [0x45f300]
and dword [ebp - 0x300], 0
test eax, eax
je 0x42988f
lea edx, [ebp - 0x2bc]
mov ecx, dword [ebp - 0x304]
mov dword [esp + 0x10], 0x4010
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], 0x2b4
mov dword [esp + 4], ecx
mov dword [esp], edx
or dword [ebp - 0x2f8], 0xffffffff
call eax
sub esp, 0x14
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4298cf
lea eax, [ebp - 0x2fc]
mov dword [esp], eax
call fcn.00442d61
mov eax, dword [ebp - 0x300]
leave
ret

Function at 0x4298e5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov eax, 0x4011
mov ebp, esp
sub esp, 0x188
cmp byte [ebp + 8], 0
jne 0x4298fe
mov eax, 0x4110
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x168]
mov dword [esp + 0xc], 0x160
mov dword [esp + 8], eax
mov dword [esp + 4], 0x90
mov dword [esp], 0x459180
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
sub esp, 0x14
leave
ret
Function at 0x4364cb
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ec
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
jne 0x43650c
lea esi, [ebp - 0x2e8]
mov dword [esp + 4], 0x106
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [eax - 1]
push edi
push edi
cmp edx, 0x103
jbe 0x436541
jmp 0x4365a6
mov dword [esp], 0x459740
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ecx
mov dword [esp + 4], str.SetDefaultDllDirectories
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
test eax, eax
je 0x4364e3
mov dword [esp], 0xc00
call eax
push edx
test eax, eax
je 0x4364e3
jmp 0x4365a6
cmp word [ebp + edx*2 - 0x2e8], 0x5c
je 0x436557
mov word [ebp + eax*2 - 0x2e8], 0x5c
inc eax
add eax, eax
mov edi, str.userenv
lea ebx, [esi + eax]
cmp byte [edi], 0
je 0x4365a6
mov eax, ebx
movzx edx, byte [edi]
inc edi
test dl, dl
je 0x436579
add eax, 2
mov word [eax - 2], dx
jmp 0x436568
mov dword [eax], 0x64002e
mov dword [eax + 4], 0x6c006c
and word [eax + 8], 0
mov dword [esp + 8], 8
mov dword [esp], esi
and dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
jmp 0x436561
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43b471
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
and dword [edi + 0x78], 0
and dword [edi + 0x7c], 0
and dword [edi + 0x34], 0
and dword [edi + 0x38], 0
and dword [edi + 0x3c], 0
and dword [edi + 0x40], 0
and dword [edi + 0x70], 0
and dword [edi + 0x88], 0
or dword [edi + 0x90], 0xffffffff
or dword [edi + 0x94], 0xffffffff
and dword [edi + 0x68], 0
and dword [edi + 0x6c], 0
and dword [edi + 0x48], 0
and dword [edi + 0x4c], 0
and dword [edi + 0x50], 0
and dword [edi + 0x60], 0
and dword [edi + 0x64], 0
and dword [edi + 0x80], 0
and dword [edi + 0x84], 0
mov dword [edi + 0x30], 1
mov dword [edi + 0x44], 1
mov eax, dword [edi + 4]
push 0x20
pop ecx
cmp eax, ecx
cmova eax, ecx
and dword [edi + 0x58], 0
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x20]
cmp dword [edi], eax
je 0x43b53d
lea ebx, [edi + 0xc8]
lea esi, [edi + 0x5c8]
cmp dword [ebx + 8], 0
je 0x43b519
mov dword [esp], ebx
call fcn.0043a3d0
add ebx, 0x28
cmp ebx, esi
jne 0x43b50b
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x43b538
mov eax, dword [edi + 0x14]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax + 4]
and dword [edi + 0x5c], 0
mov eax, dword [edi]
mov dword [edi + 0x20], eax
mov ebx, dword [edi + 0x58]
mov eax, dword [edi + 0x10]
and dword [edi + 0x9c], 0
and dword [edi + 0xa0], 0
mov dword [edi + 0x98], eax
lea eax, [ebx + 1]
imul ebx, ebx, 0x28
mov dword [edi + 0x58], eax
and dword [edi + 0xa4], 0
and dword [edi + 0xa8], 0
lea eax, [edi + ebx + 0xe8]
and dword [edi + 0xac], 0
mov dword [ebp - 0x1c], eax
and dword [edi + 0x24], 0
and dword [edi + 0x28], 0
mov dword [esp], eax
call fcn.0043cd22
xchg ecx, eax
test ecx, ecx
jne 0x43b604
lea esi, [edi + ebx + 0xe4]
mov dword [esp], esi
call fcn.0043cd22
xchg ecx, eax
test ecx, ecx
jne 0x43b604
lea eax, [edi + ebx + 0xe8]
mov dword [esp], eax
call fcn.0043cb46
xchg ecx, eax
test ecx, ecx
jne 0x43b604
mov dword [esp], esi
call fcn.0043cb46
xchg ecx, eax
test ecx, ecx
jne 0x43b604
lea eax, [edi + ebx + 0xc8]
mov dword [esp], eax
call fcn.0043a436
xchg ecx, eax
push edx
xor eax, eax
test ecx, ecx
je 0x43b615
and dword [edi + 0x44], 0
lea esi, [edi + 0xc8]
lea ebx, [edi + 0x5c8]
mov eax, esi
add esi, 0x28
mov dword [ebp - 0x1c], ecx
call fcn.0043a225
cmp ebx, esi
mov ecx, dword [ebp - 0x1c]
jne 0x43b5f0
test ecx, ecx
jle 0x43b611
movzx ecx, cx
or ecx, 0x80070000
xchg ecx, eax
mov dword [edi + 0x40], eax
cmp dword [edi + 0x38], 0
jne 0x43b62d
cmp dword [edi + 0x40], 0
jne 0x43b62d
cmp dword [edi + 0x3c], 0
jne 0x43b62d
and dword [edi + 0x44], 0
jmp 0x43b635
cmp dword [edi + 0x44], 0
je 0x43b635
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43c305
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x24]
movzx edx, byte [ecx + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx]
mov eax, edx
add eax, 4
add word [esi + 2], 4
mov byte [ecx + 1], al
lea eax, [edx + 4]
cmp eax, 0x7c
jbe 0x43c338
mov eax, ebx
call fcn.0043b991
mov dword [ebp + 8], ebx
pop ebx
pop esi
pop ebp
jmp fcn.0043be74

Function at 0x43ca9a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0xc]
and dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
and dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
and dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
xchg edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
test edx, edx
jne 0x43cada
call fcn.0043c9fc
leave
ret

Function at 0x43cea4
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, eax
push ebx
push ecx
mov eax, dword [eax + 0xc]
movsx ecx, byte [eax]
cmp cl, 0x6e
jne 0x43cec9
lea edx, [eax + 1]
mov edi, 1
mov dword [esi + 0xc], edx
movsx ecx, byte [eax + 1]
xor ebx, ebx
lea eax, [ecx - 0x30]
cmp al, 9
jbe 0x43ceda
test edi, edi
je 0x43cf10
neg ebx
jmp 0x43cf10
lea eax, [ecx - 0x30]
mov ecx, 0xa
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x7fffffff
sub eax, edx
cdq
idiv ecx
cmp eax, ebx
jl 0x43cf0d
imul ebx, ebx, 0xa
mov eax, dword [ebp - 0x10]
add ebx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
mov dword [esi + 0xc], edx
movsx ecx, byte [eax + 1]
jmp 0x43cecb
or ebx, 0xffffffff
pop edx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43eea3
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push ebx
mov ebx, eax
mov eax, dword [ecx]
cmp eax, 3
je 0x43efa8
sub eax, 0x19
cmp eax, 0x3a
ja case.0x43eec3.40
jmp dword [eax*4 + 0x459f78]
mov edx, str._restrict
jmp 0x43eed6
mov edx, str._volatile
mov eax, ebx
pop ebx
pop esi
pop ebp
jmp fcn.0043d2af
mov edx, str._const
jmp 0x43eed6
mov edx, str._transaction_safe
jmp 0x43eed6
mov edx, str._noexcept
jmp 0x43eefa
mov edx, str._throw
mov eax, ebx
call fcn.0043d2af
cmp dword [esi + 0x10], 0
je case.0x43eec3.33
mov edx, 0x28
mov eax, ebx
call fcn.0043d22e
mov ecx, dword [esi + 0x10]
jmp 0x43efbc
mov edx, 0x20
mov eax, ebx
call fcn.0043d22e
mov ecx, dword [esi + 0x10]
jmp 0x43efd9
mov edx, 0x2a
jmp 0x43efcd
mov edx, 0x20
mov eax, ebx
call fcn.0043d22e
mov edx, 0x26
jmp 0x43efcd
mov edx, 0x20
mov eax, ebx
call fcn.0043d22e
mov edx, 0x459f4e
jmp 0x43eed6
mov edx, str.__Complex
jmp 0x43eed6
mov edx, str.__Imaginary
jmp 0x43eed6
cmp byte [ebx + 0x104], 0x28
je 0x43ef8f
mov edx, 0x20
mov eax, ebx
call fcn.0043d22e
mov ecx, dword [esi + 0xc]
mov edx, 0x11
mov eax, ebx
call fcn.0043d661
mov edx, 0x459f67
jmp 0x43eed6
mov ecx, dword [ecx + 0xc]
jmp 0x43efd9
mov edx, str.___vector_
mov eax, ebx
call fcn.0043d2af
mov ecx, dword [esi + 0xc]
mov edx, 0x11
mov eax, ebx
call fcn.0043d661
mov edx, 0x29
mov eax, ebx
pop ebx
pop esi
pop ebp
jmp fcn.0043d22e
mov ecx, esi
mov eax, ebx
mov edx, 0x11
pop ebx
pop esi
pop ebp
jmp fcn.0043d661
pop ebx
pop esi
pop ebp
ret

Function at 0x43f311
Capabilities:
Parse credit card information

Disassembly:
cmp dword [ecx], 0x33
jne 0x43f324
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
jmp fcn.0043d26c
mov edx, 0x11
jmp fcn.0043d661

Function at 0x442574
Capabilities:
Parse pe header

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
jne 0x442599
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x442599
xor edx, edx
cmp word [eax + 0x18], 0x10b
sete dl
mov eax, edx
pop ebp
ret

Function at 0x44259d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
add edx, dword [edx + 0x3c]
movzx eax, word [edx + 0x14]
movzx esi, word [edx + 6]
lea eax, [edx + eax + 0x18]
cmp ebx, esi
jae 0x4425d1
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x4425cb
add edx, dword [eax + 8]
cmp ecx, edx
jb 0x4425d3
inc ebx
add eax, 0x28
jmp 0x4425b9
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x44747e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
mov ebx, eax
sub esp, 0x50
mov dword [esp], eax
call fcn.00449cb0
dec eax
jne 0x4474d3
xor eax, eax
lea edi, [ebp - 0x3d]
lea ebx, [ebp - 0x3d]
mov ecx, 0x35
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], str.Error_cleaning_up_spin_keys_for_thread__lu._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x35
mov dword [esp], ebx
call fcn.00447454
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call sub.msvcrt.dll_abort
mov dword [ebx], 0xffffffff
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret

Function at 0x447569
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
call fcn.004474e0
mov eax, dword [0x45706c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push ecx
test eax, eax
jne 0x447672
call fcn.004473b6
mov ebx, eax
test eax, eax
je 0x447672
mov dword [eax + 0x24], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x38]
mov dword [ebx + 0x1c], 0xffffffff
call fcn.0044747e
mov edx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebp - 0x1c], edx
mov dword [ebx + 0x14], eax
call edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, dword [ebp - 0x1c]
mov esi, eax
call edx
xor edx, edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea edx, [ebx + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
jne 0x447639
call sub.msvcrt.dll_abort
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
xor ecx, ecx
push edx
mov dword [ebx + 0x6c], eax
mov al, byte [ebx + 0x20]
mov dword [ebx + 0x68], ecx
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov dword [esp + 4], ebx
mov eax, dword [0x45706c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push esi
test eax, eax
je 0x447634
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4481fd
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
call fcn.00447569
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.00447cca
test byte [ebx + 0x20], 0x30
jne 0x44823a
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x45706c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x4482ce
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
jne 0x448276
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x44826c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x4482b1
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x44828e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
je 0x4482ce
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.0044767c
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x45706c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
Function at 0x40c210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x535c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov dword [esi], 0x53b338
mov byte [esi + 0x34], 1
mov byte [esi + 0x35], 1
mov byte [esi + 0x36], 1
inc dword [0x56eb48]
mov edi, dword [esp + 0x20]
push str.Bad_NumPoints_sent_to_CGlow
cmp edi, ebx
mov dword [esp + 0x1c], ebx
setne al
push eax
mov dword [esi], 0x53b384
call fcn.004015b0
lea ecx, [edi + edi]
mov eax, 0x1000
xor edx, edx
push 1
div ecx
push ebx
push 1
push ebx
mov dword [esi + 0x44], ecx
mov word [esi + 0x50], ax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x48], eax
inc eax
imul eax, ecx
shl eax, 3
push eax
call fcn.004581a0
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x3c], eax
add esp, 0x1c
lea edx, [eax + ecx*8]
xor eax, eax
mov dword [esi + 0x40], edx
mov edx, dword [esi + 0x48]
imul edx, ecx
test edx, edx
jbe 0x40c2eb
mov ecx, 0x3a000000
mov edx, dword [esi + 0x40]
inc eax
mov dword [edx + eax*8 - 4], ecx
mov edx, dword [esi + 0x48]
imul edx, dword [esi + 0x44]
cmp eax, edx
jb 0x40c2d8
mov dword [esi + 0x4c], 0x32000000
mov dword [esi + 0x58], 0xffffffff
mov eax, dword [0x56e9e4]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [0x56e9e4], esi
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40c314
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x410f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
push edi
push 1
push 0x190
mov edi, ecx
mov ecx, dword [esp + 0x18]
push 2
push 2
push 2
push eax
push ecx
mov ecx, edi
call fcn.00410b20
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x3c]
cdq
idiv ecx
xor esi, esi
mov dword [edi], 0x53b400
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
cdq
idiv ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x411010
push ebx
push ebp
mov al, byte [esp + 0x1c]
sub ecx, esi
mov edx, dword [edi + 0x50]
dec ecx
imul cl
mov ebp, dword [edx + esi*4]
mov dl, byte [esp + 0x28]
sub dl, al
mov al, byte [esp + 0x18]
imul cl
xor ebx, ebx
mov bh, dl
mov dl, byte [esp + 0x24]
sub dl, al
mov al, byte [esp + 0x10]
imul cl
mov cl, byte [esp + 0x20]
mov bl, dl
mov edx, dword [ebp + 0x40]
sub cl, al
shl ebx, 8
and ecx, 0xff
and edx, 0xff000000
or ebx, ecx
or ebx, edx
inc esi
mov dword [ebp + 0x40], ebx
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + esi*4 - 4]
mov word [ecx + 0x3c], 8
mov ecx, dword [edi + 0x3c]
cmp esi, ecx
jl 0x410fa5
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
pop ecx
ret 0x14
mov eax, edi
pop edi
pop esi
pop ecx
ret 0x14
Function at 0x41b9b0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5362ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push 0x60
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 1
mov byte [esp + 0xe], 2
mov byte [esp + 0xf], 3
mov byte [esp + 0x10], 4
mov byte [esp + 0x11], 5
mov byte [esp + 0x12], 6
mov byte [esp + 0x13], 7
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 9
mov byte [esp + 0x16], 0xa
mov byte [esp + 0x17], 0xb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0xd
mov byte [esp + 0x1a], 0xe
mov byte [esp + 0x1b], 0xf
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 0x11
mov byte [esp + 0x1e], 0x12
mov byte [esp + 0x1f], 0x13
mov byte [esp + 0x20], 0x14
mov byte [esp + 0x21], 0x15
mov byte [esp + 0x22], 0x16
mov byte [esp + 0x23], 0x17
mov byte [esp + 0x24], 0x18
mov byte [esp + 0x25], 0x19
mov byte [esp + 0x26], 0x1a
mov byte [esp + 0x27], 0x1b
mov byte [esp + 0x28], 0x1c
mov byte [esp + 0x29], 0x1d
mov byte [esp + 0x2a], 0x1e
mov byte [esp + 0x2b], 0x1f
mov byte [esp + 0x2c], 0x20
mov byte [esp + 0x2d], 0x21
mov byte [esp + 0x2e], 0x22
mov byte [esp + 0x2f], 0x23
mov byte [esp + 0x30], 0x24
call fcn.004088a0
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x38], 0
je 0x41bada
push 0x12c
push 0x12c
push 0xf
lea eax, [esp + 0x14]
xor ecx, ecx
push 0x14
mov cl, byte [0x6b3824]
push eax
push 0x25
push ecx
push 0xe9dd4877
call fcn.004c93b0
add esp, 8
xor edx, edx
mov dl, byte [0x6b3824]
mov ecx, esi
push eax
push edx
call fcn.0043b7c0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x428150
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5367a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push 1
push ebx
mov esi, ecx
push 0xa
push 0x60d9d0
mov dword [esp + 0x28], esi
call fcn.0040f7a0
mov ebp, dword [esp + 0x24]
lea edi, [esi + 0x78]
cmp ebp, ebx
push str.NULL_pHost
setne al
mov word [edi], bx
mov word [edi + 2], bx
mov word [edi + 4], bx
push eax
mov dword [esp + 0x24], ebx
mov dword [esi], 0x53b660
call fcn.004015b0
mov ebx, dword [esp + 0x30]
push str.NULL_pHook
test ebx, ebx
setne cl
push ecx
call fcn.004015b0
mov edx, dword [ebx]
push ebp
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
call fcn.00458360
add esp, 0x14
lea ebx, [esi + 0x70]
mov ecx, esi
mov dword [ebx], eax
push 1
mov dword [ebx + 4], edx
call fcn.00408e90
push 0x80
push 0x80
push 0x80
mov ecx, esi
call fcn.00408cc0
push 0x400
call fcn.004e5da0
push 2
mov word [esi + 0x58], ax
call fcn.004e5da0
add esp, 8
test eax, eax
je 0x428225
mov cx, word [esi + 0x58]
neg cx
mov word [esi + 0x58], cx
push ebx
mov word [esi + 0x56], 0x190
call fcn.004583f0
add esp, 4
test eax, eax
jne 0x428241
mov ecx, esi
call fcn.00408930
jmp 0x42824f
push edi
lea edx, [esi + 0x10]
push eax
push edx
call fcn.00453ee0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8