joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
fld qword [0x4371d8]
mov eax, 4
fld qword [0x4374c0]
fstp qword [esp]
fld qword [0x436248]
fld st(0)
fld1
fld st(0)
test al, 1
je 0x40c7e9
fmul st(2)
shr eax, 1
je 0x40c7f3
fld st(2)
fmulp st(3)
jmp 0x40c7e3
fstp st(2)
mov eax, 4
fld st(3)
test al, 1
je 0x40c802
fmul st(1), st(0)
shr eax, 1
je 0x40c80a
fmul st(0), st(0)
jmp 0x40c7fc
fstp st(0)
fsubp st(1)
fld qword [str._DT]
fld qword [0x425a80]
fmul st(1)
fmulp st(2)
fld st(2)
fld qword [0x425070]
fmul st(1), st(0)
fxch st(3)
fdivrp st(1)
fld st(3)
fmul st(4)
fld st(5)
fmul st(6)
fsubp st(1)
fmulp st(2)
fxch st(1)
fmul qword [0x425060]
fld qword [0x4373f8]
fld qword [0x4374b8]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40c859
fstp st(1)
jmp 0x40c85b
fstp st(0)
cmp dword [0x4374d4], 4
jne 0x40c86e
fstp st(0)
fld qword [0x437718]
jmp 0x40c874
fmul qword [0x437800]
fdivrp st(2)
fdivr qword [esp]
fld st(0)
fadd st(2)
fxch st(1)
fsubrp st(2)
fldz
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x40c890
fstp st(2)
jmp 0x40c892
fstp st(0)
fld st(0)
sub esp, 8
fsub st(2)
fmul st(3)
fld st(4)
faddp st(6)
fmulp st(5)
fxch st(4)
fdivrp st(3)
faddp st(2)
fxch st(1)
faddp st(2)
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 8]
fld qword [0x437500]
fadd qword [0x437178]
fld qword [0x437358]
fsub qword [0x4371d8]
fmulp st(2)
fdivrp st(1)
fstp qword [esp]
call fcn.00408710
fst qword [esp + 0x10]
fld qword [esp + 8]
add esp, 8
cmp dword [0x437064], 0
fst qword [0x437698]
fxch st(1)
fst qword [0x4376a8]
je 0x40c90f
fstp st(0)
push 2
fstp st(0)
call fcn.0040c500
fld qword [esp + 4]
add esp, 4
fld qword [esp + 8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40c946
cmp dword [0x437200], 1
jne 0x40c940
push 0x40
fstp st(0)
push 0x425324
fstp st(0)
push 0x425a58
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fsubp st(1)
add esp, 0x10
ret
fstp st(0)
fstp st(0)
fldz
add esp, 0x10
ret
Function at 0x40cde0
Capabilities:
Terminate process

Disassembly:
push ecx
push 0x64
push 0
push 0x436f30
call fcn.0040ed70
push 0x437000
push 0x64
push 0x436f30
call fcn.0040e93a
push str.programT_OptiPrice.txt
push 0x64
push 0x436f30
call fcn.0040e99f
push 0x424584
lea eax, [esp + 0x28]
push 0x436f30
push eax
call fcn.0040ed1d
add esp, 0x30
test eax, eax
je 0x40ce47
push 0x40
push 0x424574
push 0x425b5c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
mov ecx, dword [esp]
push 0x4376c0
push 0x4376f8
push 0x4376c8
push 0x4376d0
push str._lf__lf__lf__lf_n
push ecx
call fcn.0040ec3c
mov edx, dword [esp + 0x18]
push edx
call fcn.0040ea83
add esp, 0x1c
pop ecx
ret
Function at 0x40d7e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [0x4374d4]
cmp esi, 3
jne 0x40d7f7
fldz
fstp qword [0x4373c0]
cmp esi, 4
fld qword [0x437358]
fst qword [0x436248]
jne 0x40d828
fld qword [0x437178]
fld qword [0x4371a8]
fadd st(1), st(0)
fld qword [0x437500]
fadd st(2), st(0)
fxch st(2)
fst qword [0x437800]
jmp 0x40d852
fld qword [0x4371a8]
fld qword [0x4373c0]
fadd st(1)
fadd qword [0x437178]
fld qword [0x437500]
fadd st(1), st(0)
fxch st(1)
fst qword [0x437800]
fxch st(1)
fxch st(2)
fxch st(1)
fsub qword [0x4374e0]
fld st(0)
fst qword [0x437850]
fxch st(1)
fsub qword [0x437508]
fsub st(3)
fst qword [0x437898]
fdiv st(4)
fcomp qword [0x425d50]
fnstsw ax
test ah, 0x41
jne 0x40d8a2
push 0x40
fstp st(0)
push 0x425324
fstp st(2)
push str.ht_D___3.5
fstp st(1)
push 0
fstp st(0)
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fcomp qword [0x4355b0]
fnstsw ax
test ah, 5
jp 0x40d8d0
push 0x40
fstp st(2)
push 0x425324
fstp st(1)
push 0x425d28
fstp st(0)
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fld qword [0x4371d8]
fld st(0)
fmul st(1)
fld qword [0x425060]
fmul st(1), st(0)
fld st(1)
fld qword [str._DT]
fmul st(1), st(0)
fxch st(1)
fmulp st(5)
fxch st(4)
fstp qword [esp + 4]
fld st(5)
fmul st(6)
fmul st(1)
fxch st(3)
fmulp st(6)
fmulp st(5)
fadd st(1)
faddp st(4)
fxch st(3)
fdiv qword [0x424618]
fmul st(1)
fmul qword [0x437178]
fstp qword [esp + 0xc]
fmulp st(2)
fmulp st(1)
fstp qword [esp + 0x14]
fld qword [0x437688]
fmul st(0), st(0)
fadd qword [0x424300]
fld qword [0x437690]
fmul st(0), st(0)
faddp st(1)
call fcn.004102f0
fmul qword [0x4373c0]
cmp esi, 6
fstp qword [0x437828]
fld qword [0x437688]
fld st(0)
fld qword [0x437800]
fmul st(1), st(0)
fxch st(1)
fstp qword [0x437808]
fmul qword [0x437690]
fstp qword [0x4378a8]
jne 0x40d9e2
fld qword [0x437390]
mov eax, 2
fld st(0)
fmulp st(2)
fld1
test al, 1
je 0x40d98b
fmul st(2)
shr eax, 1
je 0x40d995
fld st(2)
fmulp st(3)
jmp 0x40d985
fstp st(2)
fmul st(0), st(0)
fst qword [esp + 0x1c]
faddp st(1)
call fcn.004102f0
fstp qword [esp + 0x24]
fld qword [0x437390]
mov eax, 2
fmul qword [0x437690]
fld1
test al, 1
je 0x40d9c1
fmul st(1)
shr eax, 1
je 0x40d9cb
fld st(1)
fmulp st(2)
jmp 0x40d9bb
fstp st(1)
fadd qword [esp + 0x1c]
call fcn.004102f0
fld qword [esp + 0x24]
fld qword [0x437390]
jmp 0x40da25
cmp esi, 4
fstp st(0)
fld qword [0x437390]
fld st(0)
fld st(1)
jne 0x40da23
fstp st(2)
fstp st(1)
fstp st(0)
fld qword [esp + 0xc]
fadd qword [esp + 4]
fadd qword [esp + 0x14]
fst qword [0x437868]
fld qword [0x4371d8]
fld qword [str._DT]
fmul st(1)
fmulp st(1)
fmul qword [0x425060]
jmp 0x40da47
fxch st(2)
fxch st(2)
fmulp st(1)
fmul qword [0x4373c0]
fadd qword [esp + 4]
fadd qword [esp + 0xc]
fadd qword [esp + 0x14]
fst qword [0x437868]
fld st(1)
fmulp st(2)
fxch st(1)
fmul qword [0x4374e0]
xor ecx, ecx
mov dword [0x4372b0], 1
fsubp st(1)
fstp qword [0x437888]
fld qword [0x425d20]
fcom qword [0x4374b0]
fnstsw ax
test ah, 0x41
jnp 0x40da7a
mov dword [0x4372b0], ecx
fcomp qword [0x4371e8]
mov dword [0x4371e4], ecx
fnstsw ax
test ah, 0x41
je 0x40da97
mov dword [0x4371e4], 1
pop esi
add esp, 0x28
ret
Function at 0x40dd60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x40
fld qword [0x436248]
fld qword [str._DT]
fmul st(1)
fmulp st(1)
fmul qword [0x425060]
call fcn.004102f0
fstp qword [esp + 0x20]
fld qword [0x437850]
fstp qword [esp + 0x18]
fld qword [0x4371b0]
fstp qword [esp + 0x10]
call fcn.004092d0
call fcn.0040d3c0
fld qword [0x437830]
sub esp, 0x28
cmp dword [0x4371a4], 1
fstp qword [esp + 0x20]
fld qword [0x437858]
fstp qword [esp + 0x18]
fld qword [esp + 0x38]
fstp qword [esp + 0x10]
fld qword [esp + 0x40]
fstp qword [esp + 8]
fld qword [esp + 0x48]
fstp qword [esp]
push 0
jne 0x40dde6
call fcn.0040d290
jmp 0x40ddeb
call fcn.0040d320
fld qword [0x4245f0]
add esp, 0x2c
fst qword [0x4379a0]
fdivp st(1)
fstp qword [0x4378d0]
fld qword [0x436248]
fld qword [str._DT]
fmul st(1)
fmul st(1)
fst qword [esp + 0x18]
fmulp st(1)
fmul qword [0x425a50]
fstp qword [esp + 0x10]
fld qword [0x4375d0]
fmul st(0), st(0)
fld qword [0x4373e8]
fmul st(0), st(0)
faddp st(1)
call fcn.004102f0
fmul qword [0x437800]
fstp qword [esp + 0x20]
fld qword [0x4378a8]
fmul st(0), st(0)
fld qword [0x437808]
fmul st(0), st(0)
faddp st(1)
call fcn.004102f0
fld qword [0x437188]
fmul st(1), st(0)
fld qword [esp + 0x20]
fsubrp st(2)
fxch st(1)
fst qword [esp + 0x38]
fld qword [0x435f60]
fmul qword [0x437868]
fst qword [esp + 0x30]
fld qword [esp + 0x18]
fmul qword [0x425060]
fld qword [0x437850]
fmul st(1)
fsub qword [0x437888]
fmul qword [0x437950]
fst qword [esp + 0x28]
fxch st(4)
faddp st(2)
fxch st(1)
faddp st(3)
fdiv st(2), st(0)
fxch st(2)
fst qword [esp + 0x20]
fxch st(1)
fdiv qword [esp + 0x10]
fld st(0)
fadd st(2)
fstp qword [esp + 0x10]
fsubp st(1)
fstp qword [esp + 0x18]
call fcn.004102f0
fst qword [0x437818]
fldz
fld qword [esp + 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40df1a
fld qword [esp + 0x28]
fadd qword [esp + 0x30]
fmul qword [0x424650]
fadd qword [0x437188]
fxch st(2)
fmul qword [0x425070]
fld qword [esp + 0x38]
fdiv st(3)
fsubp st(1)
fxch st(2)
fmul qword [str.ffffff]
fld st(2)
fmulp st(3)
fdivrp st(2)
fxch st(1)
fstp qword [esp + 0x10]
jmp 0x40df1c
fstp st(1)
cmp dword [0x437064], 0
fld qword [esp + 0x20]
fst qword [0x4378e0]
fld qword [esp + 0x10]
fstp qword [0x437900]
fxch st(1)
fstp qword [0x437920]
je 0x40df51
push 0x15
fstp st(0)
call fcn.0040e000
fld qword [esp + 0x24]
add esp, 4
fld qword [0x4378d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40df8e
cmp dword [0x437200], 1
jne 0x40df88
push 0x40
fstp st(1)
push 0x425324
fstp st(0)
push 0x425da4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fsubp st(1)
mov esp, ebp
pop ebp
ret
cmp dword [0x437064], 0
fstp st(1)
fstp st(0)
je 0x40dfa5
push 0x16
call fcn.0040e000
add esp, 4
fld qword [0x4378d0]
fmul qword [0x424650]
fld qword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x40dfec
cmp dword [0x437200], 1
jne 0x40dfe6
push 0x40
fstp st(1)
push 0x425324
fstp st(0)
push 0x425d80
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
fsubrp st(1)
mov esp, ebp
pop ebp
ret
fstp st(1)
fstp st(0)
fldz
mov esp, ebp
pop ebp
ret
Function at 0x40e6a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433818]
jne 0x40e6b2
repz ret
jmp fcn.00411e89

Function at 0x4194f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00410b3c
xor ebx, ebx
cmp dword [0x438428], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4195c5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x419530
xor eax, eax
jmp 0x419689
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ce18
push edi
call esi
cmp eax, ebx
je 0x419529
push eax
call fcn.00410ad9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438428], eax
call esi
push eax
call fcn.00410ad9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43842c], eax
call esi
push eax
call fcn.00410ad9
mov dword [0x438430], eax
lea eax, [ebp - 8]
push eax
call fcn.0040e449
test eax, eax
pop ecx
pop ecx
je 0x419593
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411396
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4195c5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00410ad9
cmp eax, ebx
pop ecx
mov dword [0x438438], eax
je 0x4195c5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410ad9
pop ecx
mov dword [0x438434], eax
mov eax, dword [0x438434]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41963e
cmp dword [0x438438], esi
je 0x41963e
push eax
call fcn.00410b45
pop ecx
call eax
cmp eax, ebx
je 0x41960b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x438438]
call fcn.00410b45
pop ecx
call eax
test eax, eax
je 0x41960b
test byte [ebp - 0x18], 1
jne 0x41963e
lea eax, [ebp - 0xc]
push eax
call fcn.0040e480
test eax, eax
pop ecx
je 0x419626
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411396
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x419635
or dword [ebp + 0x10], 0x200000
jmp 0x41966f
or dword [ebp + 0x10], 0x40000
jmp 0x41966f
mov eax, dword [0x43842c]
cmp eax, esi
je 0x41966f
push eax
call fcn.00410b45
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41966f
mov eax, dword [0x438430]
cmp eax, esi
je 0x41966f
push dword [ebp - 4]
push eax
call fcn.00410b45
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x438428]
call fcn.00410b45
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4182cc
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041847c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4183ca
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41836d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4183b0
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x418384
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41839f
test al, 0x40
je 0x418396
mov ecx, dword [edi + 0x20]
jmp 0x41839d
test al, 0x80
je 0x4183b0
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4183b0
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41833c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x420680
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47dacb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004727d5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420702
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004706e7
mov eax, dword [eax]
push 0x4b9c70
push eax
call fcn.00463264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00472a60
test bl, bl
je 0x420702
push 0x4b9c70
lea ecx, [esp + 0xc]
call fcn.00472df0
push 0x4b9c7c
lea ecx, [esp + 0xc]
call fcn.00472df0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42073e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00472a60
jmp 0x420809
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4207c2
lea edx, [esp + 0x7c]
push 0x4b9c78
push edx
call fcn.00463264
add esp, 8
test eax, eax
je 0x4207c2
lea eax, [esp + 0x7c]
push 0x4b9c74
push eax
call fcn.00463264
add esp, 8
test eax, eax
je 0x4207c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420752
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00472a60
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x421000
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x421062
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x421070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47db4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c0688]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4211a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4210d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00472a60
xor eax, eax
jmp 0x42121f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00472b9d
push esi
lea ecx, [esp + 0xc]
call fcn.00472e2c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4211fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00421000
test eax, eax
jne 0x4211fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00421000
test eax, eax
jne 0x4211fd
lea eax, [esp + 0x14]
push 0x4b9c8c
push eax
call fcn.004642a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4211dc
lea ecx, [esp + 0x14]
push 0x4b9c88
push ecx
call fcn.00464220
mov esi, eax
add esp, 8
test esi, esi
jne 0x4211dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4211df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00472b4d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4210ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00472a60
xor eax, eax
jmp 0x42121f
mov byte [esi], 0
push 0x4b9c84
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00472a60
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4318c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43192e
cmp si, 0x69
ja 0x43192e
add esi, 0xffd0
cmp si, 0x11
je 0x4318fe
push 0x11
call edi
test ax, ax
jge 0x4318fe
or esi, 0x2000
cmp si, 0x10
je 0x431913
push 0x10
call edi
test ax, ax
jge 0x431913
or esi, 0x4000
cmp si, 0x12
je 0x431928
push 0x12
call edi
test ax, ax
jge 0x431928
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43193b
mov esi, 0xbd
jmp 0x4318ef
cmp si, 0x6e
jne 0x431948
mov esi, 0xbe
jmp 0x4318ef
cmp si, 0x6f
jne 0x4318e9
mov esi, 0xbf
jmp 0x4318ef

Function at 0x433110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d0d60]
xor edx, edx
cmp eax, edx
jne 0x433136
xor eax, eax
mov byte [eax + 0x4d0c60], al
inc eax
cmp eax, 0x100
jl 0x43311e
mov dword [0x4d0d60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d0c60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4331c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43319a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x433168
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x433240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x433293
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43327a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439f60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x43a0f8
cmp ebp, ebx
jle 0x43a0f8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x439fbe
dec eax
or eax, 0xfffffff8
inc eax
je 0x439fc5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x439fd4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x439fdb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004727a1
add esp, 4
cmp eax, ebx
je 0x439ffc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004727a1
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43a0ee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x43a0d5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43a0c1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43a0b6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x43a0c4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43a0c4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43a060
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43a051
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret