joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013b650
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x4c
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov esi, edi
mov dword [esp + 0x10], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1013b673
sub esi, ecx
cmp byte [edi], 0x5b
jne 0x1013b82d
cmp esi, 4
jb 0x1013b815
inc edi
sub esi, 2
cmp byte [edi + esi], 0x5d
jne 0x1013b815
push str.0123456789abcdefABCDEF:.
push edi
call fcn.10184090
add esp, 8
cmp esi, eax
je 0x1013b771
mov esi, eax
add eax, edi
mov dword [esp + 0x14], eax
cmp byte [eax], 0x25
jne 0x1013b815
push 2
lea ebx, [eax + 1]
xor ebp, ebp
push 0x101b3974
push ebx
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x1013b6ec
mov cl, byte [ebx + 2]
lea eax, [ebx + 2]
test cl, cl
je 0x1013b6ec
cmp cl, 0x5d
cmovne ebx, eax
mov cl, byte [ebx]
test cl, cl
je 0x1013b7fd
lea edx, [esp + 0x18]
mov al, cl
sub edx, ebx
nop
cmp cl, 0x5d
je 0x1013b718
cmp ebp, 0xf
jge 0x1013b718
mov byte [edx + ebx], al
inc ebp
mov al, byte [ebx + 1]
inc ebx
mov cl, al
test al, al
jne 0x1013b700
test ebp, ebp
je 0x1013b7fd
cmp byte [ebx], 0x5d
jne 0x1013b7fd
cmp ebp, 0x10
jae 0x1013b857
lea eax, [esp + 0x18]
mov byte [esp + ebp + 0x18], 0
push eax
call dword [0x101f8308]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x1013b768
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10172863
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov word [eax], 0x5d
lea eax, [esp + 0x18]
mov byte [edi + esi], 0
push eax
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1013b815
push 0x2e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x17
call fcn.10141c10
add esp, 0x10
test eax, eax
je 0x1013b7da
lea edx, [esp + 0x28]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1013b7b0
sub edx, ecx
cmp edx, esi
jae 0x1013b7da
lea ecx, [esp + 0x28]
mov esi, edi
mov eax, ecx
sub esi, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x1013b7c7
mov byte [edx + edi + 1], al
mov esi, edx
mov byte [edi + esi], 0x5d
xor eax, eax
mov ecx, 0xe
cmp byte [edi], al
pop edi
pop esi
pop ebp
cmove eax, ecx
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10172863
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10172863
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10172863
add esp, 0x4c
ret
push str.__r_n_t_:___
push edi
call fcn.10178850
add esp, 8
cmp esi, eax
je 0x1013b7de
mov ecx, dword [esp + 0x58]
mov eax, 0x15
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10172863
add esp, 0x4c
ret
call fcn.10172deb
int3
Function at 0x1013cb40
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x1013cccf
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1013ccba
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1013cb9c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1013cb90
sub eax, edx
inc eax
jmp 0x1013cb9e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x1013cbaf
lea ebp, [ecx + 0xe]
jmp 0x1013cbbb
cmp ecx, 0x17
jne 0x1013cc5c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x1013cc5c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1013cc5c
cmp ecx, ebp
jb 0x1013cc5c
add eax, 0x20
add eax, ebp
push eax
call dword [0x101f82fc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1013ccab
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.10174950
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x1013cc48
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.10174950
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x1013cc58
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1013cb82
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x1013cc7c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x1013ccb6
test edi, edi
je 0x1013cc9b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x101f8300]
add esp, 4
mov edi, esi
test esi, esi
jne 0x1013cc84
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x1013cc6b
test edi, edi
jne 0x1013ccc6
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
Function at 0x10141830
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x34
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov edi, dword [esp + 0x4c]
push 6
push 1
push 2
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x10141a22
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [esp + 0x24], xmm0
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x1c], eax
xor eax, eax
push 4
mov word [esp + 0x1e], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push esi
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x10141a10
push 0x10
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x10141a10
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10141a10
cmp dword [esp + 8], 0x10
jl 0x10141a10
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x10141a10
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x10141a10
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10141a10
push 1
push esi
call fcn.10141be0
add esp, 8
test eax, eax
js 0x10141a10
push 0
push 0x2710
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push 1
push eax
mov dword [esp + 0x24], 0x300
call fcn.1013dd70
add esp, 0x10
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x10141a10
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x1c]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10141a10
cmp dword [esp + 8], 0x10
jl 0x10141a10
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10141a10
cmp dword [esp + 8], 0x10
jl 0x10141a10
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x28]
jne 0x10141a10
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
jne 0x10141a10
mov ax, word [esp + 0x1a]
cmp ax, word [esp + 0x2a]
jne 0x10141a10
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10172863
add esp, 0x34
ret
push esi
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
call esi
push dword [edi]
call esi
push dword [edi + 4]
call esi
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10172863
add esp, 0x34
ret
Function at 0x10141ae0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.101780bb
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x10141b06
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x101439b0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.1018f8e5
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10143a2f
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10124cb0
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.1011c990
push esi
call dword [0x101f8300]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x10143b8f
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x10143a89
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10124cb0
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.1011c990
push 0
mov esi, 0x4d
call dword [0x101f8300]
add esp, 0x20
jmp 0x10143b81
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10143ac9
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10124cb0
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.1011c990
add esp, 0x1c
mov esi, 0x4d
jmp 0x10143b6d
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x10143af7
jg 0x10143add
cmp edi, 0x100000
jbe 0x10143af7
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.1011c990
add esp, 0xc
mov esi, 0x4d
jmp 0x10143b6d
lea eax, [edi + 1]
push eax
call dword [0x101f82fc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10143b0f
lea esi, [eax + 0x1b]
jmp 0x10143b6d
test edi, edi
je 0x10143b54
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10143bac
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10143ba8
add esi, eax
cmp esi, edi
jb 0x10143b20
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.101437b0
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x101f8300]
add esp, 4
push dword [esp + 0x20]
call fcn.101788a1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10172863
add esp, 0x120
ret
mov edi, esi
jmp 0x10143b54
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10124cb0
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.1011c990
add esp, 0x1c
mov esi, 0x4d
jmp 0x10143b6d
Function at 0x1014f250
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x101f82fc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1014f27b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x1014f2ca
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x1014f2d2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1014f346
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x1014f300
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x1014f375
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x101b69ae
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x101b69af
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x1014f350
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x1014f380
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call sym.user32.dll_git_odb_object_id
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x101f82fc]
mov esi, eax
add esp, 8
test esi, esi
je 0x1014f502
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x1014f402
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [ebp + 0xc]
add eax, dword [esi + 8]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1014f476
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x1014f430
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jae 0x1014f4a5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x101b69ae
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x101b69af
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x1014f480
push dword [esp + 0x30]
call sym.user32.dll_git_odb_object_id
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebp, dword [esi]
test edi, edi
jne 0x1014f4d0
mov edi, dword [ebp + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebp + 8]
push edi
call eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebp + 8]
push edi
call eax
push esi
call dword [0x101f8300]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x1014f670
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x1014f6bb
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x1014f681
pop edi
pop esi
pop ebx
ret
Function at 0x101512d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10151455
cmp dword [esi + 0x20], 0
je 0x10151455
cmp dword [esi + 0x24], 0
je 0x10151455
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10151455
cmp dword [eax], esi
jne 0x10151455
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x10151335
cmp eax, 0x39
je 0x10151335
cmp eax, 0x45
je 0x10151335
cmp eax, 0x49
je 0x10151335
cmp eax, 0x5b
je 0x10151335
cmp eax, 0x67
je 0x10151335
cmp eax, 0x71
je 0x10151335
cmp eax, 0x29a
jne 0x10151455
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x1015136e
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x10151390
call fcn.10151ed0
jmp 0x10151395
call fcn.10154020
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.101547c0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.10174ed0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x101b6a12]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x101b6a10]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x101b6a14]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x101b6a16]
mov dword [esi + 0x7c], eax
xor eax, eax
pop edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x10156760
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [esp + 8]
lea eax, [edx - 2]
cmp eax, 0xa
ja case.default.0x10156774
jmp dword [eax*4 + 0x10156904]
cmp cl, 0x40
jne 0x10156786
mov eax, 4
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10156792
cmp al, 0x7a
jbe 0x101567fc
cmp cl, 0x30
jl 0x1015679c
cmp cl, 0x39
jle 0x101567fc
cmp cl, 0x2d
je 0x101567fc
cmp cl, 0x5f
je 0x101567fc
cmp cl, 0x2e
je 0x101567fc
cmp cl, 0x21
je 0x101567fc
cmp cl, 0x7e
je 0x101567fc
cmp cl, 0x2a
je 0x101567fc
cmp cl, 0x27
je 0x101567fc
cmp cl, 0x28
je 0x101567fc
cmp cl, 0x29
je 0x101567fc
cmp cl, 0x25
je 0x101567fc
cmp cl, 0x3b
je 0x101567fc
cmp cl, 0x3a
je 0x101567fc
cmp cl, 0x26
je 0x101567fc
cmp cl, 0x3d
je 0x101567fc
cmp cl, 0x2b
je 0x101567fc
cmp cl, 0x24
je 0x101567fc
xor eax, eax
cmp cl, 0x2c
sete al
lea eax, [eax*2 + 1]
ret
mov eax, 3
ret
cmp cl, 0x5b
jne 0x1015680d
mov eax, 5
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10156819
cmp al, 0x7a
jbe 0x1015685d
cmp cl, 0x30
jl 0x10156823
cmp cl, 0x39
jle 0x1015685d
cmp cl, 0x2e
je 0x1015685d
cmp cl, 0x2d
je 0x1015685d
cmp cl, 0x5f
je 0x1015685d
mov eax, 1
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10156844
cmp al, 0x7a
jbe 0x1015685d
cmp cl, 0x30
jl 0x1015684e
cmp cl, 0x39
jle 0x1015685d
cmp cl, 0x2e
je 0x1015685d
cmp cl, 0x2d
je 0x1015685d
cmp cl, 0x5f
jne case.0x10156774.8
mov eax, 6
ret
cmp cl, 0x3a
jne case.default.0x10156774
mov eax, 0xb
ret
cmp cl, 0x5d
je 0x101568ac
cmp cl, 0x30
jl 0x1015687d
cmp cl, 0x39
jle 0x101568a1
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10156889
cmp al, 0x66
jbe 0x101568a1
cmp cl, 0x3a
je 0x101568a1
cmp cl, 0x2e
je 0x101568a1
cmp edx, 7
jne case.default.0x10156774
cmp cl, 0x25
jne case.default.0x10156774
lea eax, [edx + 2]
ret
mov eax, 7
ret
cmp cl, 0x5d
jne case.0x10156774.9
mov eax, 8
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x101568be
cmp al, 0x7a
jbe 0x101568ed
cmp cl, 0x30
jl 0x101568c8
cmp cl, 0x39
jle 0x101568ed
cmp cl, 0x25
je 0x101568ed
cmp cl, 0x2e
je 0x101568ed
cmp cl, 0x2d
je 0x101568ed
cmp cl, 0x5f
je 0x101568ed
cmp cl, 0x7e
mov eax, 1
mov edx, 0xa
cmove eax, edx
ret
mov eax, 0xa
ret
mov al, 9
sub cl, 0x30
cmp al, cl
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xc
ret
Function at 0x10156bf0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 0xc]
push esi
cmp bl, 0x20
je case.default.0x10156c21
cmp bl, 0xd
je case.default.0x10156c21
cmp bl, 0xa
je case.default.0x10156c21
mov esi, dword [esp + 0xc]
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x10156c21
jmp dword [eax*4 + 0x10156e08]
cmp bl, 0x2f
je 0x10156c98
cmp bl, 0x2a
je 0x10156c98
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x10156c21
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe 0x10156e03
cmp bl, 0x3a
jne case.default.0x10156c21
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x10156c21
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x10156c21
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x10156c21
cmp bl, 0x2f
jne 0x10156ca0
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x10156d63
cmp bl, 0x40
jne 0x10156cb6
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x10156cc2
cmp al, 0x7a
jbe 0x10156d2b
cmp bl, 0x30
jl 0x10156ccc
cmp bl, 0x39
jle 0x10156d2b
cmp bl, 0x2d
je 0x10156d2b
cmp bl, 0x5f
je 0x10156d2b
cmp bl, 0x2e
je 0x10156d2b
cmp bl, 0x21
je 0x10156d2b
cmp bl, 0x7e
je 0x10156d2b
cmp bl, 0x2a
je 0x10156d2b
cmp bl, 0x27
je 0x10156d2b
cmp bl, 0x28
je 0x10156d2b
cmp bl, 0x29
je 0x10156d2b
cmp bl, 0x25
je 0x10156d2b
cmp bl, 0x3b
je 0x10156d2b
cmp bl, 0x3a
je 0x10156d2b
cmp bl, 0x26
je 0x10156d2b
cmp bl, 0x3d
je 0x10156d2b
cmp bl, 0x2b
je 0x10156d2b
cmp bl, 0x24
je 0x10156d2b
cmp bl, 0x2c
je 0x10156d2b
cmp bl, 0x5b
je 0x10156d2b
cmp bl, 0x5d
jne case.default.0x10156c21
pop esi
mov eax, 0x19
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x101bacd8], al
jne 0x10156e03
test bl, bl
js 0x10156e03
cmp bl, 0x23
je 0x10156d9b
cmp bl, 0x3f
jne case.default.0x10156c21
pop esi
mov eax, 0x1c
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x101bacd8], al
jne 0x10156da3
test bl, bl
js 0x10156da3
cmp bl, 0x23
je 0x10156d9b
cmp bl, 0x3f
je 0x10156da3
pop esi
mov eax, 1
pop ebx
ret
pop esi
mov eax, 0x1e
pop ebx
ret
pop esi
mov eax, 0x1d
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x101bacd8], al
jne 0x10156dd3
test bl, bl
js 0x10156dd3
cmp bl, 0x23
je 0x10156e03
cmp bl, 0x3f
jne case.default.0x10156c21
pop esi
mov eax, 0x1f
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x101bacd8], al
jne 0x10156e03
test bl, bl
js 0x10156e03
cmp bl, 0x23
je 0x10156e03
cmp bl, 0x3f
jne case.default.0x10156c21
mov eax, esi
pop esi
pop ebx
ret