joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55d3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5b5be8]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5b5be8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov word [esp + 0x44], cx
push eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x5c], ebx
call fcn.0041e710
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x1c]
xor edx, edx
div dword [edi + 0xc]
lea ecx, [edi + 8]
mov eax, edx
mov edx, esi
call fcn.0041ed40
mov esi, eax
cmp esi, ebx
jne 0x41cdc1
mov byte [esp + 0x17], bl
jmp 0x41cdec
push esi
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x24]
call fcn.00409a30
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x40], eax
mov cx, word [esi + 0x24]
mov word [esp + 0x44], cx
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x18]
push edx
call fcn.004310e1
add esp, 4
cmp byte [esp + 0x17], bl
je 0x41ce1b
cmp dword [esp + 0x34], 0x10
mov esi, dword [esp + 0x3c]
jb 0x41ce17
mov eax, dword [esp + 0x20]
push eax
call fcn.004310e1
add esp, 4
mov eax, esi
jmp 0x41ce31
cmp dword [esp + 0x34], 0x10
jb 0x41ce2f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004310e1
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 4
Function at 0x420e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d1e6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x58c56c
mov edi, 0x58c570
mov ebx, esi
mov dword [ebp - 0x150], esi
call fcn.00420d30
add esp, 4
mov ebx, 1
mov eax, esi
call fcn.00421140
cmp eax, 0xffffffff
jne 0x420f31
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00535390
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420f00
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
call fcn.00409b10
push 0x58c56c
mov edi, 0x58c570
mov ebx, esi
call fcn.00420d30
add esp, 4
mov edi, 0x10
jmp 0x420f8a
inc eax
push eax
push esi
xor ebx, ebx
lea esi, [ebp - 0x14c]
call fcn.00411b30
mov esi, dword [ebp - 0x150]
mov edi, eax
mov dword [ebp - 4], ebx
call fcn.00409930
mov edi, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], edi
jb 0x420f74
mov edx, dword [ebp - 0x14c]
push edx
call fcn.004310e1
add esp, 4
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
mov ebx, dword [esi + 0x10]
push 1
push esi
lea ebx, [ebx - 1]
lea esi, [ebp - 0x130]
call fcn.00411b30
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x120]
mov eax, esi
cmp esi, 1
jb 0x420fb7
mov eax, 1
mov edx, dword [ebp - 0x130]
cmp dword [ebp - 0x11c], edi
jae 0x420fcb
lea edx, [ebp - 0x130]
mov ecx, 0x58c56c
call fcn.00401200
test eax, eax
jne 0x420fe8
cmp esi, 1
jb 0x420fe8
cmp esi, 1
setne al
test eax, eax
je 0x420ffa
mov ecx, dword [ebp - 0x150]
push 1
mov eax, 0x58c56c
call fcn.0040a0b0
cmp dword [ebp - 0x11c], edi
jb 0x421011
mov eax, dword [ebp - 0x130]
push eax
call fcn.004310e1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret
Function at 0x4213d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c3b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b5be8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi - 0x18]
mov edx, dword [eax + 0xc]
lea ecx, [edi - 0x18]
call edx
test al, al
jne 0x42141e
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x42c], 0
je 0x421477
mov esi, dword [edi + 0x43c]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esi + 0x20], str.XSyncStreamConnection.cpp_:_XSyncStreamConnection::Read
mov dword [esi + 0x24], 0x28
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x428]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
jmp 0x4214d4
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi - 4]
push 0
push ecx
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jg 0x4214c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4214b4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [edi + 0x10c], 0
or ebx, 0xffffffff
jmp 0x4214d4
mov edi, dword [edi + 0x420]
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 0
push ebx
push esi
push esi
mov ecx, edi
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421780
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
cmp byte [ebx + 0x124], 0
push edi
mov edi, dword [ebp + 8]
jne 0x4217ca
cmp dword [ebx + 0x14], 0xffffffff
jne 0x4217df
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x14], eax
cmp eax, 0xffffffff
jne 0x4217df
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov dword [ecx + 0x18], str.winsock_socket___error
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 4
lea esi, [ebp - 0x18]
call fcn.00421ff0
test al, al
je 0x4217ca
mov eax, dword [ebx + 0x14]
push 0x10
mov edx, esi
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x421848
cmp byte [ebx + 0x444], al
je 0x421841
push eax
push eax
push ebx
push 0x421f30
push eax
push eax
call fcn.00534525
add esp, 0x18
mov dword [ebx + 0x448], eax
test eax, eax
jne 0x421841
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
lea ecx, [ebx + 0x10]
call edx
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 4
mov byte [ebx + 0x124], 1
mov ecx, dword [ebp - 8]
mov al, byte [ebx + 0x124]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005320a3
mov esp, ebp
pop ebp
ret 4

Function at 0x421870
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x444], 0
mov bl, 1
jne 0x4218ba
cmp dword [esi + 0x43c], 0
je 0x4218b1
cmp byte [esi + 0x124], bl
jne 0x4218b1
mov ecx, dword [esi + 0x43c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x4218b1
mov ecx, esi
call fcn.00421a00
cmp byte [esi + 0x124], bl
je 0x421891
cmp byte [esi + 0x444], 0
je 0x421905
cmp dword [esi + 0x448], 0
je 0x421905
mov eax, dword [esi + 0x448]
push 0x1388
push eax
mov byte [esi + 0x44c], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4218ee
mov ecx, dword [esi + 0x448]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x448]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x448], 0
lea ecx, [esi + 0x10]
mov byte [esi + 0x124], 0
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
pop esi
pop ebx
pop ecx
ret
Function at 0x421f80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, eax
test edi, edi
jne 0x421f96
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x421f8e
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x421fc7
test ecx, ecx
je 0x421fc7
cmp ecx, 4
ja 0x421fc7
push ecx
push eax
lea ecx, [ebp - 4]
push 4
push ecx
call fcn.005326d1
add esp, 0x10
lea esi, [ebp - 0x14]
call fcn.00421ff0
mov edx, dword [ebp - 4]
mov esi, edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], edx
call fcn.00422070
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421ff0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x42203a
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x422014
xor al, al
mov esp, ebp
pop ebp
ret
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x42203a
test ecx, ecx
je 0x42203a
cmp ecx, 4
ja 0x42203a
push ecx
push eax
lea ecx, [ebp - 4]
push 4
push ecx
call fcn.005326d1
add esp, 0x10
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, 2
mov word [esi], dx
mov dword [esi + 4], eax
mov eax, dword [edi + 0x80]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x424a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e40e
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x424b6d
push 0x591da0
lea eax, [ebp - 0x43c]
push str.launcher_conf.temp
push eax
mov dword [ebp - 0x43c], ebx
call fcn.00534419
add esp, 0xc
test eax, eax
jne 0x424b6d
mov eax, dword [ebp - 0x43c]
cmp eax, ebx
je 0x424b6d
mov edi, eax
mov dword [ebp - 0x450], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0x400
lea edx, [ebp - 0x430]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ebx
push edx
mov dword [ebp - 0x438], 0x592270
mov dword [ebp - 0x434], ecx
call fcn.00535390
add esp, 0xc
push ebx
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
call fcn.00424870
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x2c]
jae 0x424b27
lea ebx, [ebp - 0x2c]
push 3
call fcn.0042e3f0
mov edx, dword [eax]
mov edx, dword [edx + 8]
add esp, 4
lea ecx, [ebp - 0x44c]
push ecx
push esi
push ebx
push 0x30000
push 0x5920fc
mov ecx, eax
call edx
test al, al
jne 0x424b71
lea esi, [ebp - 0x44c]
call fcn.004098a0
lea esi, [ebp - 0x2c]
call fcn.004097a0
push edi
call fcn.005347c7
add esp, 4
xor al, al
jmp 0x424bb5
mov edx, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x448]
push edx
sub eax, ecx
push 1
push eax
push ecx
call fcn.00534d51
add esp, 0x10
lea esi, [ebp - 0x44c]
cmp eax, 1
jne 0x424b57
call fcn.004098a0
lea esi, [ebp - 0x2c]
call fcn.004097a0
push edi
call fcn.005347c7
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret
Function at 0x4280c0
Capabilities:
Create http request

Disassembly:
push 0
push 0
push 0
push 1
push str.XModule
mov dword [esi], vtable.XInternetSession2.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x48], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x4280fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push edi
push 0x3c
lea edi, [esi + 0xc]
push 0
push edi
call fcn.00535390
mov dword [edi], 0x3c
mov edi, 0x100
push edi
call fcn.004310d6
push edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
call fcn.004310d6
push edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
call fcn.004310d6
add esp, 0x18
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
ret

Function at 0x4281b0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x42823d
mov edi, edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x42826e
push eax
call fcn.004310d6
mov edx, dword [ebp - 4]
add esp, 4
lea ecx, [ebp - 8]
push ecx
push edx
mov esi, eax
push esi
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x428259
mov eax, dword [ebp - 8]
test eax, eax
je 0x428265
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
add ebx, eax
mov eax, dword [edx + 4]
push esi
call eax
push esi
test al, al
je 0x428266
call fcn.004310e1
add esp, 4
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x4281d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x42826e
mov edx, dword [ebp + 8]
pop esi
mov dword [edx + 0x48], eax
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
push esi
call fcn.004310e1
add esp, 4
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x428390
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cd98
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4283e1
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x2c]
call fcn.00409b10
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00428970
mov ecx, dword [ebp - 0x40]
mov eax, esi
push eax
or eax, 0xffffffff
xor ebx, ebx
call fcn.00409a30
mov ecx, dword [ebp - 0x2c]
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jae 0x42841d
mov ecx, esi
mov esi, dword [ebp - 0x34]
cmp dword [esi + 0x60], ebx
lea eax, [esi + 0x4c]
jb 0x42842a
mov eax, dword [eax]
push 0
push 0x80400100
push 0
push 0
push 0
push ecx
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x42846b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
cmp dword [ebp - 0x18], ebx
jb 0x428463
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004310e1
add esp, 4
or eax, 0xffffffff
jmp 0x428539
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4284a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esi + 0x48], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], ebx
jb 0x42849f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004310e1
add esp, 4
mov eax, 0xfffffffe
jmp 0x428539
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x20000013
push edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4284f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esi + 0x48], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], ebx
jb 0x4284f2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004310e1
add esp, 4
mov eax, 0xfffffffd
jmp 0x428539
mov eax, dword [ebp - 0x30]
cmp eax, 0xc8
je 0x42851c
push edi
mov dword [esi + 0x48], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov eax, 0xfffffffc
jmp 0x428539
mov ecx, dword [ebp - 0x38]
push ecx
push esi
call fcn.004281b0
push edi
mov ebx, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea esi, [ebp - 0x2c]
call fcn.004097a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005320a3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x428970
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jbe 0x428a9f
push edi
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x42898c
mov eax, dword [esi]
jmp 0x42898e
mov eax, esi
movsx ecx, byte [eax + ebx]
test ecx, ecx
js 0x42899f
cmp ecx, 0x1f
jle 0x428a43
cmp ecx, 0x7f
je 0x428a43
lea eax, [ecx - 0x80]
cmp eax, 0x7f
jbe 0x428a43
cmp ecx, 0x24
je 0x428a43
cmp ecx, 0x26
je 0x428a43
cmp ecx, 0x2b
je 0x428a43
cmp ecx, 0x2c
je 0x428a43
cmp ecx, 0x27
je 0x428a43
cmp ecx, 0x3a
je 0x428a43
cmp ecx, 0x28
je 0x428a43
cmp ecx, 0x29
je 0x428a43
cmp ecx, 0x3b
je 0x428a43
cmp ecx, 0x3d
je 0x428a43
cmp ecx, 0x3f
je 0x428a43
cmp ecx, 0x40
je 0x428a43
cmp ecx, 0x20
je 0x428a43
cmp ecx, 0x22
je 0x428a43
cmp ecx, 0x3c
je 0x428a43
cmp ecx, 0x3e
je 0x428a43
cmp ecx, 0x23
je 0x428a43
cmp ecx, 0x25
je 0x428a43
cmp ecx, 0x7b
je 0x428a43
cmp ecx, 0x7d
je 0x428a43
cmp ecx, 0x7c
je 0x428a43
cmp ecx, 0x5c
je 0x428a43
cmp ecx, 0x5e
je 0x428a43
cmp ecx, 0x7e
je 0x428a43
cmp ecx, 0x5b
je 0x428a43
cmp ecx, 0x5d
je 0x428a43
cmp ecx, 0x60
jne 0x428a94
cmp edx, 0x10
jb 0x428a4c
mov eax, dword [esi]
jmp 0x428a4e
mov eax, esi
mov byte [eax + ebx], 0x25
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov edi, ecx
inc ebx
sar eax, 4
and edi, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x428a6d
dec edi
or edi, 0xfffffff0
inc edi
cmp eax, 9
jle 0x428a77
add eax, 0x37
jmp 0x428a7a
add eax, 0x30
cmp edi, 9
jle 0x428a84
add edi, 0x37
jmp 0x428a87
add edi, 0x30
push eax
call fcn.00425880
inc ebx
push edi
call fcn.00425880
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x428980
pop edi
pop esi
pop ebx
ret
Function at 0x42c390
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x42c39b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0042c3b0
Function at 0x430ce0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x5b5be8]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
mov dword [esp + 0x110], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov word [esp + 0x128], ss
mov word [esp + 0x11c], cs
mov word [esp + 0xf8], ds
mov word [esp + 0xf4], es
mov word [esp + 0xf0], fs
mov word [esp + 0xec], gs
pushfd
pop dword [esp + 0x120]
mov esi, dword [ebp + 4]
lea eax, [ebp + 4]
push 0x50
mov dword [esp + 0x128], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0x10001
mov dword [esp + 0x11c], esi
mov eax, dword [eax - 4]
push 0
push ecx
mov dword [esp + 0x120], eax
call fcn.00535390
lea edx, [esp + 0x1c]
lea eax, [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x10], 0xc000000d
mov dword [esp + 0x1c], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x430dc0
call dword [sym.imp.KERNEL32.dll_DebugBreak]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc000000d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x334]
pop esi
xor ecx, esp
call fcn.005320a3
mov esp, ebp
pop ebp
ret

Function at 0x431777
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x4317bf
push 0x563190
push 4
push eax
call fcn.00534b9b
push eax
call fcn.0040bc10
add esp, 0x10
jmp 0x4317d5
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x431858
push edi
call fcn.00535f4f
mov edi, dword [eax]
call fcn.00535f4f
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0053281b
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00535f4f
cmp dword [eax], 0
je 0x43182c
call fcn.00535f4f
push dword [eax]
call fcn.00431132
pop ecx
jmp 0x431833
call fcn.00535f4f
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x431858
cmp dword [ebp - 0x11c], esi
jae 0x431858
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x43185a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005320a3
leave
ret
Function at 0x431867
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b5be8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0043164d
pop ecx
cmp eax, esi
je 0x431951
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x431951
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00535390
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x431951
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x431951
cmp esi, 0x14
jge 0x431951
push 0x10
push 0
push edi
call fcn.00536175
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x431940
call fcn.00535f4f
cmp dword [eax], 0x22
je 0x431940
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00535f98
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x431916
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5b7f8c], 0
jne 0x4319dc
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x431a05
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00431777
pop ecx
pop ecx
test eax, eax
jne 0x431a07
inc edi
cmp edi, esi
jl 0x4319e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005320a3
leave
ret 8