joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18083bb5
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x18083bec
call fcn.1801baa5
mov ebx, eax
jmp 0x18083cc6
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18083cab
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18083c4b
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083cb6
cmp eax, 3
je 0x18083c4e
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18132f00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x18083cab
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083cb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x1c], 1
mov edi, eax
je 0x18083cb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x1f40
jae 0x18083c9c
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18132f00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x18083c61
jmp 0x18083c9f
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083cb6
mov ebx, 0x800705b4
jmp 0x18083cb6
call fcn.1801baa5
mov ebx, eax
test esi, esi
je 0x18083cbd
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret

Function at 0x18083d12
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x18083d86
push 4
push str.Schedule
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edx, eax
mov dword [ebp - 0x24], edx
test edx, edx
je 0x18083d7f
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
test eax, eax
je 0x18083d76
cmp dword [ebp - 0x1c], 4
je 0x18083d74
cmp dword [ebp - 0x1c], 2
jne 0x18083d76
mov bl, 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret
Function at 0x18084ace
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x18084b60
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18084b37
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x18084b36
sub eax, edi
sar eax, 2
cmp eax, dword [esi + 0x38]
ja 0x18084b36
mov eax, dword [edi]
lea ecx, [esi + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1808519f
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x18084b1b
xor ebx, ebx
pop edi
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x18084b4c
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x18084b4e
cmp dword [esi + 0x38], ebx
jbe 0x18084b4e
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret

Function at 0x18084f10
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x20]
call fcn.18084ace
test al, al
jne 0x18084f4a
mov eax, dword [esi]
push edi
push 0x18084eb0
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18084f43
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x18084f4a
xor eax, eax
jmp 0x18084fdb
mov ecx, dword [esi + 4]
xor ebx, ebx
mov eax, dword [esi]
inc ebx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x18084fd9
mov esi, dword [eax]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x18084fb8
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1d
test al, 1
je 0x18084f92
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x18084fa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x40], 0
je 0x18084fb1
push ebx
push esi
call dword [sym.imp.USER32.dll_FlashWindow]
mov cl, bl
mov byte [ebp - 1], cl
jmp 0x18084fbb
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jne 0x18084f60
test cl, cl
je 0x18084fd9
push dword [ebp + 8]
mov ecx, edi
call fcn.180846dc
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18085090
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 4
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x180850bf
xor al, al
jmp 0x1808512a
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x1808511e
mov esi, dword [ebx + 0x10]
jmp 0x18085105
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x18085102
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.18018792
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180850ea
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180850e5
mov eax, dword [edi]
cmp eax, dword [edi + 4]
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 4

Function at 0x1808513b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov edi, ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x18085196
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18085170
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18085173
mov dl, byte [ebp - 1]
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1808515b
test dl, dl
je 0x18085196
push dword [ebp + 8]
mov ecx, esi
call fcn.180846dc
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x18087759
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edx
push eax
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180877bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180877b4
call fcn.1801baa5
jmp 0x180877e1
mov eax, 0x8007000d
jmp 0x180877e1
mov esi, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
add edx, esi
push edx
push esi
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180877ef
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1811e248
leave
ret

Function at 0x18087ca3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x18087cb8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x18087c40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x18087ce6
xor al, al
jmp 0x18087cf7
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
pop esi
pop ebp
ret 4
Function at 0x1808a0a2
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ecx + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x181623e8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1808a0fe
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d5818
lea ecx, [ebp - 8]
call fcn.18098d25
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026269
push dword [ebp - 8]
call fcn.18093df9
pop ecx
mov al, 1
jmp 0x1808a283
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808a141
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d5818
lea ecx, [ebp - 8]
call fcn.18098d25
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026269
push dword [ebp - 8]
call fcn.18093df9
pop ecx
xor al, al
jmp 0x1808a283
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808a1b7
je 0x1808a1af
cmp ecx, 0x10000
je 0x1808a196
cmp ecx, 0x40000
je 0x1808a191
cmp ecx, 0x80000
je 0x1808a186
cmp ecx, 0x100000
je 0x1808a181
cmp ecx, 0x400000
jne 0x1808a1f2
cmp edi, 0xc
jmp 0x1808a1eb
cmp edi, 9
jmp 0x1808a1eb
cmp edi, 0x8004
jmp 0x1808a290
cmp edi, 1
jmp 0x1808a1eb
test edi, edi
je 0x1808a296
cmp edi, 0xa
je 0x1808a296
cmp edi, 9
jmp 0x1808a290
cmp edi, 0x8002
jmp 0x1808a1eb
cmp ecx, 0x10000000
je 0x1808a28a
cmp ecx, 0x20000000
je 0x1808a1e8
cmp ecx, 0x40000000
je 0x1808a1e3
cmp ecx, 0x80000000
jne 0x1808a1f2
cmp edi, 0x8003
jmp 0x1808a1eb
cmp edi, 5
jmp 0x1808a1eb
cmp edi, 3
sete bl
test bl, bl
jne 0x1808a262
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181d5920
lea ecx, [ebp - 0xc]
call fcn.18098d25
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026269
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.18098ef3
mov edx, eax
mov ecx, esi
call fcn.18038611
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026269
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.18098fb6
mov edx, eax
mov ecx, esi
call fcn.18038611
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.18014aad
mov eax, dword [ebp - 8]
test al, 8
je 0x1808a274
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014aad
mov eax, dword [ebp - 8]
test al, 4
je 0x1808a281
push dword [ebp - 0xc]
call fcn.18093df9
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808a1f2
mov bl, 1
jmp 0x1808a262
Function at 0x18091b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x18091b47
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18036b80
jmp 0x18091c10
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x18091b6f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18091b75
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x18091bdd
jg 0x18091b8c
test esi, esi
je 0x18091bdd
test ecx, ecx
jl 0x18091bd8
jg 0x18091b96
test eax, eax
je 0x18091bd8
cmp edi, ecx
jg 0x18091baa
jl 0x18091ba0
cmp esi, eax
jae 0x18091baa
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call fcn.18132980
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x18091be0
mov ecx, dword [ebp + 8]
jmp 0x18091bea
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18091c04
jg 0x18091bea
test esi, esi
je 0x18091c04
cmp dword [ebx + 0x4c], 0
je 0x18091c04
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b4aa
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x18091c4e
jl 0x18091c45
test edi, edi
jne 0x18091c4e
xor eax, eax
xor edx, edx
jmp 0x18091d03
cmp dword [ebx + 0x38], 0
je 0x18091c61
push eax
push edi
push edx
call fcn.18036c80
jmp 0x18091d03
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091ca2
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091ca2
cmp eax, edi
jb 0x18091c83
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.18132980
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
sub esi, ecx
add dword [esp + 0x10], ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
cmp dword [ebx + 0x4c], 0
je 0x18091cf9
mov ecx, ebx
call fcn.18092d97
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091ce4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815b936
mov ecx, dword [esp + 0x20]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x18091cf9
jmp 0x18091cb5
test edx, edx
je 0x18091cf9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b936
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18092013
xor eax, eax
jmp 0x180920ed
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1809203f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x1809203f
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x180920e5
cmp dword [edi + 0x4c], 0
je 0x180920e9
mov ecx, edi
call fcn.18092d97
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18092062
push dword [edi + 0x4c]
push ecx
jmp 0x180920a9
mov byte [ebp - 0x28], cl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x181623e8]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x180920b9
sub eax, 1
je 0x180920b9
dec eax
sub eax, 1
jne 0x180920e9
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.180880bc
pop ecx
pop ecx
test al, al
jne 0x180920e5
or ebx, 0xffffffff
jmp 0x180920e5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x180920d9
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815b4aa
add esp, 0x10
cmp esi, eax
jne 0x180920e9
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x180920e9
mov eax, ebx
jmp 0x180920ec
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret 4
Function at 0x180c71d6
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x180c732d
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180c732d
cmp ecx, 0x29
jne 0x180c7216
cmp dword [esi + 0x10], 0
jne 0x180c732d
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180c7331
jmp 0x180c72eb
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x180c7234
push 5
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.180c71ae
jmp 0x180c731b
cmp ecx, 0x5c
jne 0x180c7285
mov ecx, esi
call fcn.180c71ae
test byte [edi], 0x80
je 0x180c7279
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x180c7262
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.180c71ae
jmp 0x180c7322
cmp al, 0x42
jne 0x180c7279
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x180c7256
mov ecx, esi
call fcn.180c7742
jmp 0x180c731b
cmp ecx, 0x5b
jne 0x180c72a5
mov ecx, esi
call fcn.180c71ae
mov ecx, esi
call fcn.180c76f6
cmp dword [esi + 0x4c], 0x5d
je 0x180c7228
push 4
jmp 0x180c7333
cmp ecx, 0x28
jne 0x180c72c2
mov ecx, esi
call fcn.180c71ae
mov ecx, esi
call fcn.180c7813
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180c7331
jmp 0x180c7310
cmp ecx, 0x5e
jne 0x180c72cb
push 2
jmp 0x180c724e
cmp ecx, 0x24
jne 0x180c72d7
push 3
jmp 0x180c724e
cmp ecx, 0x2a
je 0x180c7329
cmp ecx, 0x2b
je 0x180c7329
cmp ecx, 0x3f
je 0x180c7329
cmp ecx, 0x7b
je 0x180c7329
cmp ecx, 0x7d
jne 0x180c72f8
test dword [edi], edx
jne 0x180c7301
push 6
jmp 0x180c7333
cmp ecx, 0x5d
jne 0x180c7301
test dword [edi], edx
je 0x180c729e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.180c7958
mov bl, 1
mov ecx, esi
call fcn.180c71ae
test bl, bl
je 0x180c7322
mov ecx, esi
call fcn.180c7898
mov al, 1
jmp 0x180c71dd
push 0xa
jmp 0x180c7333
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806066f
int3
Function at 0x180d4e3d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push 0x181a1674
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1801e6a8
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.18132f00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180d4f3d
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], edi
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 7
call fcn.1800fce5
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.180da523
push eax
mov ecx, esi
call fcn.18038525
lea ecx, [ebp - 0x250]
call fcn.18014aad
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x180d4f3d
mov ecx, dword [ebp - 0x238]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
cmp eax, 0x1000
jb 0x180d4f34
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
push eax
push ecx
call fcn.1811e776
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1811e248
leave
ret
Function at 0x180df9ff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [edi + 0x10], eax
je 0x180dfb54
cmp dword [edi + 0x10], 0x20
jne 0x180dfb54
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dfa57
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180df953
cmp al, 0xff
je 0x180dfb54
mov ecx, dword [ebp - 0x18]
shl ecx, 4
movzx eax, al
add ecx, eax
inc edx
mov dword [ebp - 0x18], ecx
cmp edx, 8
jl 0x180dfa4d
jmp 0x180dfaaa
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dfa87
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180df953
cmp al, 0xff
je 0x180dfb54
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x1c], ecx
cmp edx, 0xc
jl 0x180dfa7d
cmp edx, 0x10
jae 0x180dfae6
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180dfabe
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180df953
cmp al, 0xff
je 0x180dfb54
mov ecx, dword [ebp - 0x20]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
cmp edx, 0x10
jl 0x180dfab4
mov byte [ebp - 0xd], bl
mov al, 1
cmp edx, 0x20
jae 0x180dfb36
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], ecx
xor al, 1
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0xe], al
mov eax, edi
jb 0x180dfb05
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180df953
mov cl, byte [ebp - 0xd]
shl cl, 4
add cl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
test al, al
je 0x180dfb2a
mov esi, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp - 0xd], bl
mov byte [esi], cl
inc edx
cmp edx, 0x20
jl 0x180dfaf6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 6], ax
mov eax, dword [ebp - 8]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
jmp 0x180dfb5a
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e248
leave
ret
Function at 0x180ec1d3
Capabilities:
Create http request

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
inc eax
push 0x102
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x14]
push eax
mov dword [esi], 0x1819f884
mov dword [esi + 0xc], 0x1819f384
call fcn.1815a655
xor ebx, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
push 0x2c
lfence
call fcn.1811eaf8
add esp, 0xc
mov dword [eax], eax
push 0x10000000
push ebx
push ebx
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push ebx
mov dword [esi + 0x44], eax
push ebx
mov byte [esi + 0x4c], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret