joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e4267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x2fb00c], esi
jne 0x2e42be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x2e2c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x2fb00c], eax
cmp eax, esi
je 0x2ee4ec
push 0xffffffffffffffff
push dword [0x2fb014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x2fb014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x2fb018], esi
jl 0x2ee50a
pop esi
leave
ret

Function at 0x2e4441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e4498
call fcn.002e2712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x2e4490
cmp ecx, 0xffffffff
je 0x2e4490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x2e4489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x2e4489
cmp edx, 0x10000000
jae 0x2e4489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x2ee892
mov dword [ebp - 4], 0xfffffffe
call fcn.002e2757
ret 4

Function at 0x2e681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x2fb004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x2e6933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x2eed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.002e21cb
test eax, eax
jl 0x2e6932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x2e68c3
push 0x2e6994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.002e2436
test eax, eax
jl 0x2e6932
push 0x2e6980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.002e2436
test eax, eax
jl 0x2e6932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x2eed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e6970
push eax
call edi
push 0x2e695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x2e6948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x2e6940
cmp dword [esi + 0x34], 0
je 0x2e6940
test eax, eax
je 0x2e6940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.002e20d4
leave
ret
mov eax, 0x8007007f
jmp 0x2e6932
Function at 0x2e71f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x2f608c
call fcn.002e39dd
lea ecx, [ebp - 0x34]
call fcn.002e6c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.002e758b
test eax, eax
jl 0x2e722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.002e72a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x2e7298
cmp ax, si
jne 0x2ee4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.002e1451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.002e758b
mov esi, eax
test esi, esi
jl 0x2e7280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.002e72a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.002e760b
mov eax, esi
call fcn.002e2b9f
ret

Function at 0x2e791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x2edc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x2e7900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x2e79a8
push 1
lea ecx, [ebp - 0x20]
call fcn.002e79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x2e78ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.002e71e0
cmp esi, ebx
jl 0x2e79a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x2e7992
push 0x24
mov eax, 0x2f5c85
call fcn.002e26dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x2e7854
push 1
lea ecx, [ebp - 0x20]
call fcn.002e79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x2e3984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x2e79a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x2e79d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.002e7455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.002e71e0
mov eax, esi
call fcn.002e1390
ret 0xc
Function at 0x2e7b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x2f5fc0
call fcn.002e39dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.002e7c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x2e7b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x2e7b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x2e7b5b
inc esi
cmp esi, edi
jb 0x2e7b46
cmp esi, edi
jb 0x2e7c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x2e7c0e
cmp word [edx], 0x30
jne 0x2e7b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x2e7b6f
cmp eax, edi
jae 0x2e7c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x2e7b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x2e7c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x2e7c03
movzx eax, ax
movzx eax, ax
push eax
push 0x2e7c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.002e1451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.002e6c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.002e760b
mov eax, dword [ebp - 0x54]
call fcn.002e2b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x2e7bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x2e7be9
Function at 0x2e7f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x2f6a7d
call fcn.002e1350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x2e8046
push 1
call fcn.002e227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x2e803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.002e13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x2e7fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.002e21cb
mov ebx, eax
test ebx, ebx
jl 0x2e8024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.002e2436
mov ebx, eax
test ebx, ebx
jl 0x2e8024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x2e8024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x2e7ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x2ef33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x2e8024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x2ef353
cmp dword [ebp - 0x14], 0
je 0x2e8033
push dword [ebp - 0x14]
call fcn.002e13c0
pop ecx
push dword [ebp - 0x18]
call fcn.002e13c0
pop ecx
mov eax, ebx
call fcn.002e1390
ret 4
mov ebx, 0x80070057
jmp 0x2e803c

Function at 0x2e85f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x2fb004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x2e8684
cmp eax, 0xffffffff
je 0x2e8684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x2e8684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.002e85b5
mov eax, esp
push esi
push ebx
push eax
call fcn.002e8692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2ef2da
cmp esi, dword [ebp - 0xc]
jne 0x2ef2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.002e20d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x2e866d
Function at 0x2e88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x2f6be9
call fcn.002e20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.002e13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x2e8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x2e89a4
push esi
push edi
call fcn.002e1451
add esp, 0x14
mov eax, edi
call fcn.002e2126
ret 4
Function at 0x2f0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x2f0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x2f0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x2f0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x2f0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402280
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movaps xmm0, xmmword [0x65eee0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x24], 0x797c686d
movaps xmm0, xmmword [0x65ef40]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x68177d6c
mov dword [ebp - 0x1c], 0x4140574a
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x2b
jb 0x4022b7
push esi
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
lea eax, [ebp - 0x43]
push eax
mov byte [ebp - 0x18], 0
call esi
movaps xmm0, xmmword [0x65ee90]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x18], 0
movaps xmm0, xmmword [0x65ef30]
movups xmmword [ebp - 0x38], xmm0
movaps xmm0, xmmword [0x65eef0]
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x2f
jb 0x402300
lea eax, [ebp - 0x47]
mov byte [ebp - 0x18], 0
push eax
call esi
movaps xmm0, xmmword [0x65ef20]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x18], 0x3961
movaps xmm0, xmmword [0x65eea0]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x16], 0
movaps xmm0, xmmword [0x65ef50]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x31
jb 0x402344
lea eax, [ebp - 0x47]
mov byte [ebp - 0x16], 0
push eax
call esi
movaps xmm0, xmmword [0x65eda0]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x18], 0x5b00
movaps xmm0, xmmword [0x65edf0]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x16], 0
movaps xmm0, xmmword [str._9___F_]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x31
jb 0x402388
lea eax, [ebp - 0x47]
mov byte [ebp - 0x16], 0
push eax
call esi
mov ecx, 0x45
xor edx, edx
pop esi
mov al, byte [edx + 0x65ec9c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x14], al
and ecx, 0x800000ff
jns 0x4023c4
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x4023a7
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
xor ecx, ecx
call fcn.004018c0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x415e30
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b272b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [ebp + 8]
mov byte [esi + 0x2b71], al
test al, al
je 0x415fa9
push 0x118
lea eax, [ebp - 0x260]
mov byte [esi + 0x2b70], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.00403870
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:91.0__Gecko_20100101_Firefox_91.0
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.00407760
lea eax, [ebp - 0x260]
mov ecx, esi
push eax
push str.User_Agent
call fcn.004167d0
push 0x138
lea eax, [ebp - 0x148]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x148]
call fcn.004498e0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
push str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
add esi, 0x17a8
push str.Accept
mov ecx, esi
call fcn.004a6990
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Accept_Language
call fcn.004a33e0
test al, al
jne 0x415f33
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.en_US_en_q0.5
push str.Accept_Language
call fcn.004a6990
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Connection
call fcn.004a33e0
test al, al
jne 0x415f62
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.keep_alive
push str.Connection
call fcn.004a6990
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push str.Upgrade_Insecure_Requests
call fcn.004a33e0
test al, al
jne 0x415f91
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
push 0x5ce700
push str.Upgrade_Insecure_Requests
call fcn.004a6990
lea ecx, [ebp - 0x148]
call fcn.00449900
lea ecx, [ebp - 0x260]
call fcn.00403900
jmp 0x415fbb
push 1
push str.User_Agent
lea ecx, [esi + 0x17a8]
call fcn.004a68f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret 4
Function at 0x41de50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3698
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x68cc00]
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, ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp + 8]
add eax, 0x2ad8
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
push 4
push eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], edx
call fcn.00408110
mov ecx, edi
call fcn.00436ad0
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x14]
push 0
push 0
mov dword [ebp - 0x14], 0
push dword [eax + 0xb88]
push dword [eax + 0xb84]
push esi
call fcn.004a7fe0
mov esi, dword [ebp - 0x148]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00415ab0
mov byte [esi + 0x17e4], 1
call sub.KERNEL32.DLL_GetTickCount
push 0x128
mov dword [ebp - 0x148], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x1c], xmm0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004a87c0
push eax
lea ecx, [ebp - 0x144]
call fcn.0046d1d0
push dword [ebp - 0x14c]
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x11c], 0
push eax
push edi
lea eax, [esi + 0x1280]
mov ecx, ebx
push eax
push 0
push dword [ebp + 0x10]
call fcn.004068f0
mov ecx, dword [ebp - 0x150]
push eax
push esi
lea eax, [esi + 0x1688]
push eax
lea eax, [esi + 0x2950]
push eax
call fcn.004068f0
push eax
push esi
call fcn.00474a50
mov ecx, dword [ebp - 0x11c]
add esp, 0x34
mov dword [esi + 0xc30], ecx
mov bl, al
mov cl, byte [ebp - 0x126]
mov byte [esi + 0x10ab], cl
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x14c]
cmp eax, ecx
jb 0x41dfc9
sub eax, ecx
mov ecx, edi
push eax
push str.totalElapsedMs
call fcn.00448710
push edi
test bl, bl
je 0x41e002
lea ecx, [ebp - 0x14]
call fcn.004a8570
push dword [esi + 0x155c]
lea ecx, [esi + 0x908]
push dword [esi + 0x1558]
push str.ContentLength
call fcn.004486a0
cmp dword [esi + 0x1554], 0x190
jl 0x41e00d
xor bl, bl
jmp 0x41e00d
lea ecx, [esi + 0x2950]
call fcn.004a7d40
lea ecx, [ebp - 0x144]
call fcn.0046d2b0
lea ecx, [ebp - 0x14]
call fcn.004a8030
mov al, bl
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.005af5a8
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42c130
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 8], edi
mov ebx, dword [edi + 0x6c]
test ebx, ebx
je 0x42c30e
mov edi, dword [edi + 0xc]
mov cl, byte [edi + edx]
movzx eax, cl
movzx eax, byte [eax + 0x5d09e8]
test eax, eax
jne 0x42c1b1
cmp cl, 0x41
jb 0x42c16b
cmp cl, 0x5a
jbe 0x42c1b6
cmp cl, 0x61
jb 0x42c177
cmp cl, 0x7a
jbe 0x42c1b6
jmp 0x42c1a9
cmp cl, 0x30
jb 0x42c181
cmp cl, 0x39
jbe 0x42c1b6
cmp cl, 0x3d
je 0x42c1b6
cmp cl, 0x3f
je 0x42c1b6
cmp cl, 0x26
je 0x42c1b6
cmp cl, 0x2f
je 0x42c1b6
cmp cl, 0x2d
je 0x42c1b6
cmp cl, 0x5f
je 0x42c1b6
cmp cl, 0x25
je 0x42c1b6
cmp cl, 0x2e
je 0x42c1b6
cmp cl, 0x7e
je 0x42c1b6
inc esi
jmp 0x42c1b6
inc esi
add esi, eax
add edx, eax
inc edx
cmp edx, ebx
jb 0x42c150
mov edi, dword [ebp - 8]
test esi, esi
je 0x42c30e
lea eax, [esi*2 + 4]
mov dword [ebp - 0x14], eax
add eax, ebx
push eax
call fcn.0040de50
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42c1ea
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor esi, esi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x6c], ecx
jbe 0x42c2c4
nop word [eax + eax]
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
movzx edx, al
mov dword [ebp - 0xc], edx
movzx edx, byte [edx + 0x5d09e8]
mov dword [ebp - 0x10], edx
test edx, edx
jne 0x42c278
cmp al, 0x41
jb 0x42c222
cmp al, 0x5a
jbe 0x42c272
cmp al, 0x61
jb 0x42c22a
cmp al, 0x7a
jbe 0x42c272
cmp al, 0x30
jb 0x42c232
cmp al, 0x39
jbe 0x42c272
cmp al, 0x3d
je 0x42c272
cmp al, 0x3f
je 0x42c272
cmp al, 0x26
je 0x42c272
cmp al, 0x2f
je 0x42c272
cmp al, 0x2d
je 0x42c272
cmp al, 0x5f
je 0x42c272
cmp al, 0x25
je 0x42c272
cmp al, 0x2e
je 0x42c272
cmp al, 0x7e
je 0x42c272
mov byte [esi + ebx], 0x25
inc esi
lea eax, [esi + ebx]
push eax
push dword [ebp - 0xc]
call fcn.0040e730
mov ecx, dword [ebp - 4]
add esp, 8
add esi, 2
jmp 0x42c2b7
mov byte [esi + ebx], al
inc esi
jmp 0x42c2b7
lea eax, [edx + 1]
xor edi, edi
test eax, eax
je 0x42c2b2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, edi
mov cl, byte [eax + ecx]
mov byte [esi + ebx], 0x25
inc esi
lea eax, [esi + ebx]
push eax
movzx eax, cl
push eax
call fcn.0040e730
mov edx, dword [ebp - 0x10]
inc edi
mov ecx, dword [ebp - 4]
add esp, 8
add esi, 2
lea eax, [edx + 1]
cmp edi, eax
jb 0x42c281
mov edi, dword [ebp - 8]
add ecx, edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi + 0x6c]
jb 0x42c200
mov byte [esi + ebx], 0
cmp byte [edi + 9], 0
mov dword [edi + 0x6c], esi
je 0x42c2e8
test esi, esi
je 0x42c2e8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x42c2e8
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x64]
test eax, eax
je 0x42c2ff
push eax
call fcn.005af5b6
add esp, 4
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x6c]
add eax, dword [ebp - 0x14]
mov dword [edi + 0x64], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x68], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4387e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, dword [ebx + 8]
cmp edi, dword [eax + 8]
jne 0x43882a
test edi, edi
jne 0x43881a
cmp byte [esi + 0x11], 0
mov dword [esi + 8], edi
je 0x4388db
mov dword [esi + 0x14], edi
mov al, 1
mov dword [esi + 0xc], edi
pop edi
mov byte [esi + 0x11], 0
pop esi
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x10], 0xdb
je 0x438833
push 0
call fcn.004014f0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
cmp dword [esi + 0xc], edi
jae 0x438898
push edi
call fcn.0040de50
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x43882a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x438875
cmp dword [esi + 0x14], 0
je 0x438875
cmp ecx, edi
jbe 0x438866
push 0
call fcn.004014f0
mov eax, dword [ebp + 8]
add esp, 4
push dword [esi + 8]
push dword [esi + 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esi + 0x11], 0
jne 0x43888b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43888b
push eax
call fcn.005af5b6
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], edi
mov byte [esi + 0x11], 0
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [esi + 0xc]
cmp edx, eax
cmova ecx, eax
cmp dword [esi + 0x14], 0
mov dword [esi + 8], ecx
je 0x43882a
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x4388db
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax + edi]
mov ecx, dword [ecx + 0x14]
mov eax, dword [esi + 0x14]
xor dl, byte [ecx + edi]
mov byte [edi + eax], dl
inc edi
cmp edi, dword [ebx + 8]
jb 0x4388c0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8