joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43901b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x439058
cmp dword [ebp + 0x14], edi
je 0x439058
cmp ecx, edi
jne 0x43905f
call fcn.00439a04
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00434ceb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x439073
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x439094
cmp ebx, 0xffffffff
je 0x439083
push ebx
push edi
push ecx
call fcn.00434800
add esp, 0xc
cmp esi, edi
je 0x439040
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x439040
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4390b0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4390b7
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4391a8
test word [esi + 0xc], 0x10c
je 0x43910b
mov eax, dword [esi + 4]
test eax, eax
je 0x43910b
jl 0x439209
cmp ebx, eax
mov edi, ebx
jb 0x4390dc
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4391b0
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043444d
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4391a0
cmp ebx, dword [ebp - 0xc]
jb 0x439178
cmp dword [ebp - 0xc], 0
je 0x439135
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x43912a
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x439131
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x439140
mov eax, closesocket
cmp ebx, eax
ja 0x439140
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4391dc
push eax
push dword [ebp - 8]
push esi
call fcn.0043f841
pop ecx
push eax
call fcn.00443a55
add esp, 0xc
test eax, eax
je 0x43921b
cmp eax, 0xffffffff
je 0x439209
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4391a0
push esi
call fcn.00443d1b
cmp eax, 0xffffffff
pop ecx
je 0x43920d
cmp dword [ebp - 4], 0
je 0x4391dc
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4390bf
mov eax, dword [ebp + 0x14]
jmp 0x43905a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4391c7
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00434800
add esp, 0xc
call fcn.00439a04
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x439050
cmp dword [ebp + 0xc], 0xffffffff
je 0x4391f2
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00434800
add esp, 0xc
call fcn.00439a04
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x439050
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43905a
or dword [esi + 0xc], 0x10
jmp 0x43920d
Function at 0x43c391
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45e970]
je 0x43c3ac
inc edi
cmp edi, 0x17
jb 0x43c39d
cmp edi, 0x17
jae 0x43c52c
push ebp
push 3
call fcn.0044571a
cmp eax, 1
pop ecx
je 0x43c4f8
push 3
call fcn.0044571a
test eax, eax
pop ecx
jne 0x43c3e0
cmp dword [0x45e090], 1
je 0x43c4f8
cmp ebx, 0xfc
je 0x43c52b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x460098
push ebp
call fcn.00438b73
add esp, 0xc
test eax, eax
je 0x43c416
push esi
push esi
push esi
push esi
push esi
call fcn.00434bef
add esp, 0x14
push 0x104
mov esi, 0x4600b1
push esi
push 0
mov byte [0x4601b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43c45a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00438b73
add esp, 0xc
test eax, eax
je 0x43c45a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00434bef
add esp, 0x14
push esi
call fcn.00434db0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43c49f
push esi
call fcn.00434db0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4603ac
push 0x44ed44
sub ecx, eax
push ecx
push eax
call fcn.00444fd6
add esp, 0x14
test eax, eax
je 0x43c49f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00434bef
add esp, 0x14
jmp 0x43c4a1
xor esi, esi
push 0x44ed40
push ebx
push ebp
call fcn.00437de3
add esp, 0xc
test eax, eax
je 0x43c4c1
push esi
push esi
push esi
push esi
push esi
call fcn.00434bef
add esp, 0x14
push dword [edi*8 + 0x45e974]
push ebx
push ebp
call fcn.00437de3
add esp, 0xc
test eax, eax
je 0x43c4e3
push esi
push esi
push esi
push esi
push esi
call fcn.00434bef
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044555d
add esp, 0xc
jmp 0x43c52b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43c52b
cmp ebp, 0xffffffff
je 0x43c52b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45e974]
push dword [esi]
call fcn.00434db0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44555d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043a32b
xor ebx, ebx
cmp dword [0x460710], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x445633
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x445713
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x445713
push eax
call fcn.0043a2bd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x460710], eax
call esi
push eax
call fcn.0043a2bd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x460714], eax
call esi
push eax
call fcn.0043a2bd
mov dword [0x460718], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043c11e
test eax, eax
pop ecx
pop ecx
je 0x445601
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00434bef
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x445633
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043a2bd
cmp eax, ebx
pop ecx
mov dword [0x460720], eax
je 0x445633
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043a2bd
pop ecx
mov dword [0x46071c], eax
mov eax, dword [0x46071c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4456b8
cmp dword [0x460720], ecx
je 0x4456b8
push eax
call fcn.0043a334
push dword [0x460720]
mov esi, eax
call fcn.0043a334
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4456b8
cmp edi, ebx
je 0x4456b8
call esi
cmp eax, ebx
je 0x445685
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445685
test byte [ebp - 0x18], 1
jne 0x4456b8
lea eax, [ebp - 0x10]
push eax
call fcn.0043c155
test eax, eax
pop ecx
je 0x4456a0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00434bef
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4456af
or dword [ebp + 0x10], 0x200000
jmp 0x4456f3
or dword [ebp + 0x10], 0x40000
jmp 0x4456f3
mov eax, dword [0x460714]
cmp eax, dword [ebp - 8]
je 0x4456f3
push eax
call fcn.0043a334
cmp eax, ebx
pop ecx
je 0x4456f3
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4456f3
mov eax, dword [0x460718]
cmp eax, dword [ebp - 8]
je 0x4456f3
push eax
call fcn.0043a334
cmp eax, ebx
pop ecx
je 0x4456f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460710]
call fcn.0043a334
cmp eax, ebx
pop ecx
je 0x445713
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x445715
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x639100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x639159
test eax, edx
je 0x63915c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x639117
movzx eax, word [eax]
sub eax, ecx
jmp 0x63913e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x63913f
add ecx, 4
js 0x63912f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x63913c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x63913e
xor eax, eax
ret
test eax, eax
je 0x639168
test edx, edx
jne 0x639108
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x641428
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00622bd0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0062653c
mov edi, eax
cmp edi, 0x104
jbe 0x6413d3
mov eax, edi
add eax, eax
call fcn.0061fa24
mov esi, eax
jmp 0x6413d5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0062653c
push esi
call fcn.0062bed4
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x64140e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x6413f8
mov eax, esp
cmp esi, eax
je 0x64141b
mov eax, esi
call fcn.0061fa40
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x641454
cmp bl, 0
je 0x641450
cmp bl, 0x41
jl 0x64144b
cmp bl, 0x5a
jg 0x64144b
or bl, 0x20
xor al, bl
inc esi
jmp 0x64142f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x641394
Function at 0x69978c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x699794
mov eax, edx
pop esi
pop ebx
ret

Function at 0x70b1fc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x70b202
ret

Function at 0x7e1488
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.006227e4
xor eax, eax
push ebp
push 0x5c855c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48ab98]
call fcn.006c6708
mov esi, eax
lea edx, [ebp - 0x44]
mov ecx, 0x40
mov eax, esi
call fcn.006c4eac
cmp word [ebp - 0x44], 0x5a4d
jne 0x7e14dc
cmp dword [ebp - 8], 0
jne 0x7e14f2
mov ecx, 0x5c8578
mov dl, 1
mov eax, dword [0x4198a4]
call fcn.0063f820
call fcn.00621dfc
mov eax, dword [ebp - 8]
cdq
push edx
push eax
mov eax, esi
call fcn.006c4140
lea edx, [ebp - 0x13c]
mov ecx, 0xf8
mov eax, esi
call fcn.006c4eac
cmp dword [ebp - 0x13c], 0x4550
je 0x7e1533
mov ecx, 0x5c8578
mov dl, 1
mov eax, dword [0x4198a4]
call fcn.0063f820
call fcn.00621dfc
cmp word [ebp - 0x138], 0x14c
setne bl
mov eax, esi
call fcn.00620980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8563
lea eax, [ebp - 4]
call fcn.00622700
ret

Function at 0x7e16a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.006227e4
xor eax, eax
push ebp
push 0x5c8778
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48ab98]
call fcn.006c6708
mov ebx, eax
lea edx, [ebp - 0x44]
mov ecx, 0x40
mov eax, ebx
call fcn.006c4eac
cmp word [ebp - 0x44], 0x5a4d
jne 0x7e16f8
cmp dword [ebp - 8], 0
jne 0x7e170e
mov ecx, 0x5c8794
mov dl, 1
mov eax, dword [0x4198a4]
call fcn.0063f820
call fcn.00621dfc
mov eax, dword [ebp - 8]
cdq
push edx
push eax
mov eax, ebx
call fcn.006c4140
lea edx, [ebp - 0x13c]
mov ecx, 0xf8
mov eax, ebx
call fcn.006c4eac
cmp dword [ebp - 0x13c], 0x4550
je 0x7e174f
mov ecx, 0x5c8794
mov dl, 1
mov eax, dword [0x4198a4]
call fcn.0063f820
call fcn.00621dfc
mov esi, dword [ebp - 0x108]
add esi, dword [ebp - 0x114]
mov eax, ebx
call fcn.00620980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c877f
lea eax, [ebp - 4]
call fcn.00622700
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x17506090
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1752d08a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x38], ebx
mov edi, 1
mov dword [esp + 0x30], edi
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
jne 0x175060d0
mov dword [esp + 0x14], ebx
jmp 0x17506154
lea esi, [esp + 0x1c]
mov ecx, ebp
call fcn.17506ee0
mov esi, eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x40]
mov ebx, edi
mov dword [esp + 0x38], ebx
test eax, eax
je 0x175060f4
cmp eax, dword [esi]
je 0x17506149
push 0xfb
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_vector
push str.vector_iterators_incompatible
call fcn.17508140
add esp, 0xc
push str.__Standard_C_Libraries_Invalid_Argument___0_
push 0
push 0xfc
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_vector
push 2
call fcn.17509560
add esp, 0x14
cmp eax, edi
jne 0x1750612b
int3
push 0
push 0xfc
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_vector
push str.std::_Vector_const_iterator_unsigned_char_class_std::allocator_unsigned_char___::_Compat
push str._invalid_argument_
call fcn.17508dd0
sub esp, 0xffffffec
mov eax, dword [esp + 0x48]
sub eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edi
test bl, 1
je 0x1750618b
and ebx, 0xfffffffe
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebx
call fcn.17508240
lea edi, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.17501120
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.17508280
mov ecx, dword [esp + 0x4c]
push ecx
push 1
sub esp, 0xc
mov esi, esp
lea ecx, [esp + 0x54]
mov edx, esi
mov dword [esp + 0x60], esp
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.17501040
mov edx, dword [esp + 0x5c]
push ebp
mov dword [esi + 8], edx
call fcn.17506f00
lea esi, [esp + 0x1c]
mov ecx, ebp
call fcn.17506ee0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 4
mov esi, dword [esp + 0x3c]
push ecx
push esi
mov ecx, eax
call fcn.17507330
or ebx, 2
push 3
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x34], 1
call fcn.17508240
lea edi, [esp + 0x1c]
mov byte [esp + 0x30], 5
call fcn.17501120
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30], 1
call fcn.17508280
push 3
lea ecx, [esp + 0x50]
mov byte [esp + 0x34], 0
call fcn.17508240
lea edi, [esp + 0x40]
mov dword [esp + 0x30], 6
call fcn.17501120
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30], 0
call fcn.17508280
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x18
Function at 0x17509ec0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x17500000
cmp dword [ebp - 4], 0
je 0x17509ee3
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x17509ee7
xor eax, eax
jmp 0x17509f30
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x17509f02
xor eax, eax
jmp 0x17509f30
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x17509f14
xor eax, eax
jmp 0x17509f30
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x74], 0xe
ja 0x17509f21
xor eax, eax
jmp 0x17509f30
mov edx, dword [ebp - 8]
xor eax, eax
cmp dword [edx + 0xe8], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x1750d0d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1753a32c]
jne 0x1750d0da
repz ret
jmp 0x1751a570
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1753c708], eax
mov dword [0x1753c704], ecx
mov dword [0x1753c700], edx
mov dword [0x1753c6fc], ebx
mov dword [0x1753c6f8], esi
mov dword [0x1753c6f4], edi
mov word [0x1753c720], ss
mov word [0x1753c714], cs
mov word [0x1753c6f0], ds
mov word [0x1753c6ec], es
mov word [0x1753c6e8], fs
mov word [0x1753c6e4], gs
pushfd
pop dword [0x1753c718]
mov eax, dword [ebp]
mov dword [0x1753c70c], eax
mov eax, dword [ebp + 4]
mov dword [0x1753c710], eax
lea eax, [ebp + 8]
mov dword [0x1753c71c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1753c658], 0x10001
mov eax, dword [0x1753c710]
mov dword [0x1753c60c], eax
mov dword [0x1753c600], 0xc0000409
mov dword [0x1753c604], 1
mov ecx, dword [0x1753a32c]
mov dword [ebp - 0x328], ecx
mov edx, dword [0x1753a330]
mov dword [ebp - 0x324], edx
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1753c650], eax
push 1
call fcn.1750e160
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x17533af8
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1753c650], 0
jne 0x1751a668
push 1
call fcn.1750e160
add esp, 4
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1750e180
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [0x1753a4f8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1750e1c7
cmp dword [0x1753a4f4], 0xffffffff
je 0x1750e1c7
mov ecx, dword [0x1753a4f4]
push ecx
mov edx, dword [0x1753a4f8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1750e1f1
push str.KERNEL32.DLL
call fcn.1750e220
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1750e1ef
push str.EncodePointer
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
jmp 0x1750e1fd
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1f8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1750e20d
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x1750e270
Capabilities:
Get thread local storage value

Disassembly:
mov ebp, ebp
push edi
mov edi, esp
sub esp, 0xc
mov dword [edi - 4], 0
mov eax, dword [0x1753a4f8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1750e2b7
cmp dword [0x1753a4f4], 0xffffffff
je 0x1750e2b7
mov ecx, dword [0x1753a4f4]
push ecx
mov edx, dword [0x1753a4f8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
mov dword [edi - 8], eax
cmp dword [edi - 8], 0
jne 0x1750e2e1
push str.KERNEL32.DLL
call fcn.1750e220
add esp, 4
mov dword [edi - 0xc], eax
cmp dword [edi - 0xc], 0
je 0x1750e2df
push str.DecodePointer
mov eax, dword [edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi - 4], eax
jmp 0x1750e2ed
mov ecx, dword [edi - 8]
mov edx, dword [ecx + 0x1fc]
mov dword [edi - 4], edx
cmp dword [edi - 4], 0
je 0x1750e2fd
mov eax, dword [edi + 8]
push eax
call dword [edi - 4]
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
mov esp, edi
pop edi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1753a4f8]
push eax
mov edi, edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1750e35d
mov ecx, dword [0x1753bf98]
push ecx
call fcn.1750e270
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add esp, 4
push edx
mov eax, dword [0x1753a4f8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
mov eax, dword [ebp - 4]
pop ebp
ret

Function at 0x17511ae0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.17511aa0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x17519860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x175387f8
push 0x1750ee30
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [0x1753a32c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 0x80
mov edi, edi
jg 0x175198b5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
and edx, 0xff
movsx eax, dl
mov dword [ebp - 0x24], eax
jmp 0x175198be
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call fcn.1750e800
add eax, 0x90
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
add edx, 1
mov dword [eax], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 0x14]
je 0x1751997f
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x17519904
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx + 4]
jge 0x17519904
jmp 0x17519909
call fcn.1751a4e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + eax*8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 + 4], 0
je 0x17519954
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
push 0x103
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov edx, dword [eax + ecx*8 + 4]
push edx
call fcn.1751a3c0
mov dword [ebp - 4], 0
jmp 0x17519974
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
jmp 0x175198e5
mov dword [ebp - 4], 0xfffffffe
call fcn.1751998d
jmp 0x175199b6
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0x14]
jne 0x175199c0
jmp 0x175199c5
call fcn.1751a4e0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret