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

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ee
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1b
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ac
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x24
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3e
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xd0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 6
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x97
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xe2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xdb
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xed
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xbe
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x8c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x5b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x75
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xd7
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xc1
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x19
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x20
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x35
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb4
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xb0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xac
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xcb
push ebp
push ebp
push ebp
call ebx
inc byte [esi + edi]
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xde
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x9b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xcf
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xb3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x63
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x7d
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x414280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4142ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4142ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40d540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40d55a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d550
mov eax, 1
add ebx, ebx
jne 0x40d573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d568
jne 0x40d584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d568
xor ecx, ecx
sub eax, 3
jb 0x40d598
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d60a
mov ebp, eax
add ebx, ebx
jne 0x40d5a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d5b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d5d4
inc ecx
add ebx, ebx
jne 0x40d5c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d5b5
jne 0x40d5d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d5b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d5f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d5e5
jmp 0x40d556
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d5f4
add edi, ecx
jmp 0x40d556
pop esi
mov edi, esi
mov ecx, 0x2b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d612
cmp byte [edi], 0
jne 0x40d612
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40d617
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d686
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1199c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d644
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a2c]
or eax, eax
je 0x40d680
mov dword [ebx], eax
add ebx, 4
jmp 0x40d661
call dword [esi + 0x11a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d6b7
cmp al, 0xef
ja 0x40d6aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d68c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d699
mov ebp, dword [esi + 0x11a30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d6eb
sub esp, 0xffffff80
jmp 0x403212
Function at 0x4372e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor edi, edi
push esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push esi
mov dword [0x538c30], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov ecx, dword [0x538c30]
mov edx, dword [0x5390a4]
mov ebp, dword [esp + 0x20]
mov dword [0x538c2c], eax
lea ebx, [ecx - 1]
mov ecx, dword [0x538c38]
cmp ebx, edi
mov dword [esp + 0x14], ebx
jl 0x43738c
mov eax, dword [edx + 0x14]
mov esi, ebp
sub esi, eax
mov edi, dword [ecx + 0x14]
mov eax, esi
xor ebp, ebp
shl eax, 4
add eax, esi
shl edi, 1
lea esi, [eax + eax*2]
shl esi, 1
inc ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [ecx + 0xc]
mov eax, ebp
sub eax, edi
add ebp, 2
mov ax, word [eax + ebx]
mov ebx, dword [edx + 0xc]
sub ax, 0x20
movsx eax, ax
add eax, ebx
xor ebx, ebx
mov bl, byte [eax + esi + 6]
mov eax, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x43734f
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
sub esi, eax
xor edi, edi
test ebx, ebx
mov dword [esp + 0x28], esi
jl 0x437465
jmp 0x4373ac
mov ecx, dword [0x538c38]
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
mov eax, edi
sub eax, esi
mov ax, word [ecx + eax*2]
mov ecx, ebp
sub ax, 0x20
lea ebp, [esp + 0x18]
movsx esi, ax
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
sub ecx, eax
push ebp
mov eax, ecx
push 0x3f800000
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
movsx eax, word [edx + ecx*2]
movsx ebp, word [edx + ecx*2 + 2]
lea ecx, [edx + ecx*2]
push ebp
push eax
imul eax, esi
movsx ecx, word [ecx + 4]
mov edx, dword [0x538c1c]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
mov ebx, dword [edx]
push eax
push ecx
push 5
push edx
call dword [ebx + 0x78]
test eax, eax
fnclex
jge 0x437429
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ebp, dword [esp + 0x20]
mov ecx, ebp
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cl, byte [eax + esi + 6]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add esi, ecx
inc edi
mov dword [esp + 0x28], esi
cmp edi, eax
jle 0x4373a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x437470
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push esi
mov dword [0x538c30], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov ecx, dword [0x538c30]
mov dword [0x538c2c], eax
mov ebp, dword [esp + 0x20]
lea edi, [ecx - 1]
cmp edi, ebx
jl 0x437514
mov edx, dword [0x538c38]
mov esi, dword [0x5390a4]
mov ecx, ebp
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
shl edx, 1
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xc]
shl ecx, 1
xor esi, esi
mov dword [esp + 0x14], eax
inc edi
mov ebx, dword [esp + 0x24]
mov eax, esi
sub eax, edx
add esi, 2
mov ax, word [eax + ebx]
mov ebx, dword [esp + 0x14]
sub ax, 0x20
movsx eax, ax
add eax, ebx
xor ebx, ebx
mov bl, byte [eax + ecx + 6]
mov eax, dword [esp + 0x10]
add eax, ebx
dec edi
mov dword [esp + 0x10], eax
jne 0x4374e5
fild dword [esp + 0x28]
fild dword [esp + 0x10]
fdiv qword [0x401520]
fsubp st(1)
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov ecx, dword [0x538c30]
mov dword [esp + 0x28], eax
xor edi, edi
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x24], eax
jl 0x437608
mov edx, dword [0x5390a4]
mov eax, dword [0x538c38]
mov ecx, edi
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
sub ecx, ebx
mov cx, word [eax + ecx*2]
mov eax, dword [edx + 0x14]
sub cx, 0x20
movsx esi, cx
mov ecx, ebp
lea ebp, [esp + 0x18]
sub ecx, eax
push ebp
mov eax, ecx
push 0x3f800000
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [0x538c1c]
lea eax, [eax + eax*2]
mov ebx, dword [edx]
movsx ebp, word [ecx + eax*2 + 2]
lea ecx, [ecx + eax*2]
push ebp
movsx eax, word [ecx]
movsx ecx, word [ecx + 4]
push eax
imul eax, esi
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push 5
push edx
call dword [ebx + 0x78]
test eax, eax
fnclex
jge 0x4375cc
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ebp, dword [esp + 0x20]
mov ecx, ebp
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cl, byte [eax + esi + 6]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esi, ecx
inc edi
mov dword [esp + 0x28], esi
cmp edi, eax
jle 0x43754b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x437c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor ebp, ebp
xor ebx, ebx
push esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push esi
mov dword [0x538c30], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov ecx, dword [0x538c30]
mov dword [0x538c2c], eax
lea edi, [ecx - 1]
cmp edi, ebp
jl 0x437d1e
mov edx, dword [0x538c38]
mov esi, dword [0x5390a4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov edx, dword [edx + 0x14]
mov eax, ecx
mov ebp, dword [esi + 0xc]
shl eax, 4
add eax, ecx
xor esi, esi
shl edx, 1
lea ecx, [eax + eax*2]
shl ecx, 1
inc edi
mov ebx, dword [esp + 0x28]
mov eax, esi
sub eax, edx
add esi, 2
movsx eax, word [eax + ebx]
mov ebx, dword [esp + 0x3c]
sub eax, ecx
sub eax, ebx
xor ebx, ebx
mov bl, byte [eax + ebp + 0x666]
mov eax, dword [esp + 0x10]
add eax, ebx
dec edi
mov dword [esp + 0x10], eax
jne 0x437ce7
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
push esi
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
fcomp qword [0x401540]
fnstsw ax
test ah, 0x40
je 0x437d3a
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jne 0x437d5e
fild dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
fsub dword [ebp]
jmp 0x437d7a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
sub ecx, edx
sub ecx, 0x14
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fadd dword [ebp]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov edx, dword [0x538c30]
mov dword [esp + 0x34], eax
lea eax, [edx - 1]
test eax, eax
mov dword [esp + 0x2c], eax
jl 0x437e51
jmp 0x437d9f
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [0x538c38]
mov esi, dword [esp + 0x3c]
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0xc]
movsx eax, word [edx + ecx*2]
sub eax, esi
mov esi, dword [0x5390a4]
mov edx, dword [esi + 0x14]
mov ecx, edx
shl ecx, 4
add ecx, edx
mov edx, dword [esi + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 1
sub edx, ecx
xor ecx, ecx
mov cl, byte [edx + eax + 0x666]
sub edi, ecx
cmp word [esp + 0x14], 0
jne 0x437def
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 2
fld dword [ebp]
fdiv dword [0x401538]
mov ecx, dword [0x538c1c]
lea esi, [esp + 0x20]
push esi
push ecx
lea esi, [eax + eax*8]
mov edx, dword [ecx]
lea eax, [eax + esi*2]
fstp dword [esp]
push 0x14
push 0x13
push 0xfe
push eax
mov eax, dword [esp + 0x4c]
sub eax, ebx
push eax
push edi
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x437e42
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jns 0x437d9b
fld dword [ebp]
fsub dword [0x538b84]
pop edi
pop esi
fstp dword [ebp]
pop ebp
pop ebx
add esp, 0x14
ret 0x18
Function at 0x4381b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, 1
mov dword [esp + 4], 0
mov cl, byte [edx + 4]
mov dword [esp + 0x14], eax
cmp ecx, eax
mov dword [esp + 8], ecx
jl 0x4382c8
mov ecx, dword [edx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x14]
sub esi, edx
mov edx, dword [0x5390a4]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
jmp 0x4381fb
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [esi + eax]
mov esi, ecx
cmp esi, 0x64
jne 0x43820e
mov esi, 0x3e
jmp 0x438218
cmp esi, 0x3e
jne 0x43821d
cmp edi, 7
jne 0x43821d
mov edi, 6
mov eax, dword [edx + 0x14]
mov ecx, edi
sub ecx, eax
lea ebp, [esp + 0x14]
mov eax, ecx
push ebp
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
push 0x3f800000
mov edx, dword [0x538c1c]
lea eax, [eax + eax*2]
mov ebx, dword [edx]
movsx ebp, word [ecx + eax*2 + 2]
lea ecx, [ecx + eax*2]
push ebp
movsx eax, word [ecx]
movsx ecx, word [ecx + 4]
push eax
imul eax, esi
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push 5
push edx
call dword [ebx + 0x78]
test eax, eax
fnclex
jge 0x438284
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x5390a4]
mov ecx, edi
mov ebx, dword [esp + 0x28]
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cl, byte [eax + esi + 6]
mov eax, dword [esp + 0x24]
add ebx, ecx
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], ebx
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x4381f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x43a430
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov edx, dword [0x5390a4]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
sub ecx, ebp
push esi
mov eax, ecx
push edi
shl eax, 4
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
lea ebp, [eax + eax*2]
shl ebp, 1
lea eax, [edx + ebp]
mov edx, 1
mov ax, word [eax + 2]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
sub edi, eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov al, byte [edi + edx]
mov ecx, edx
mov esi, eax
test esi, esi
je 0x43a4cd
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov al, byte [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
add eax, ebp
mov bl, byte [eax + esi + 6]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esi, ebx
cmp ecx, eax
mov dword [esp + 0x28], esi
je 0x43a4c9
inc ecx
xor eax, eax
mov al, byte [edi + ecx]
mov esi, eax
test esi, esi
jne 0x43a49f
mov ebx, dword [esp + 0x10]
movsx eax, word [esp + 0x30]
cmp dword [esp + 0x28], eax
jle 0x43a4ec
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
add esi, eax
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
cmp edx, ecx
jg 0x43a50e
xor eax, eax
mov al, byte [edi + edx]
mov esi, eax
mov eax, dword [esp + 0x18]
add esi, eax
xor eax, eax
mov al, byte [esi + ebp + 6]
add ebx, eax
inc edx
cmp edx, ecx
jle 0x43a4f0
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 1]
xor ecx, ecx
mov cl, byte [eax + 4]
cmp edx, ecx
jle 0x43a481
mov ax, word [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x477110
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword [0x538c50]
push esi
push edi
xor eax, eax
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*8]
shl edx, 6
add edx, ecx
lea ecx, [ecx + edx*4]
mov edx, dword [0x5390b8]
mov ecx, dword [edx + ecx*4 + 0x9a88]
mov edx, dword [esp + 0xc]
mov esi, edx
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub esi, edi
pop edi
mov ecx, dword [ecx + esi*8 + 4]
pop esi
test ecx, ecx
jne 0x477163
push ecx
push ecx
push 8
push 7
push 1
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.00477090
ret 8
cmp ecx, 4
je 0x477397
cmp ecx, 6
je 0x477397
cmp ecx, 9
je 0x47737f
cmp ecx, 0xa
je 0x47737f
cmp ecx, 0xd
je 0x477367
cmp ecx, 0xe
je 0x477367
cmp ecx, 0x12
je 0x477367
cmp ecx, 0x13
je 0x477367
cmp ecx, 0x17
je 0x47734f
cmp ecx, 0x18
je 0x47734f
cmp ecx, 0x1c
je 0x477337
cmp ecx, 0x1d
je 0x477337
cmp ecx, 0x1f
jne 0x4771ec
mov eax, dword [esp + 8]
push 0
push 0
push 0
push 0x28
push 2
push edx
push eax
call fcn.00477090
ret 8
cmp ecx, 0x21
je 0x47731f
cmp ecx, 0x22
je 0x47731f
cmp ecx, 0x24
je 0x477307
cmp ecx, 0x25
je 0x477307
cmp ecx, 0x28
je 0x4772ef
cmp ecx, 0x29
je 0x4772ef
cmp ecx, 0x2c
je 0x4772ef
cmp ecx, 0x2d
je 0x4772ef
cmp ecx, 0x31
je 0x4772d7
cmp ecx, 0x32
je 0x4772d7
cmp ecx, 0x34
je 0x4772bf
cmp ecx, 0x35
je 0x4772bf
cmp ecx, 0x3a
jl 0x477272
cmp ecx, 0x3c
jg 0x477272
mov ecx, dword [esp + 8]
push 0x34
push 0x33
push 0x32
push 0x31
push 2
push edx
push ecx
call fcn.00477090
ret 8
cmp ecx, 0x3f
je 0x4772a7
cmp ecx, 0x40
je 0x4772a7
cmp ecx, 0x44
je 0x4772a7
cmp ecx, 0x45
je 0x4772a7
cmp ecx, 0x47
jne 0x4773ac
push 0
push 0
push 0x12
push 0x11
push 2
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.00477090
ret 8
mov eax, dword [esp + 8]
push 0x39
push 0x38
push 0x37
push 0x36
push 2
push edx
push eax
call fcn.00477090
ret 8
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push 0x2d
push 2
push edx
push ecx
call fcn.00477090
ret 8
push 0
push 0
push 0x3f
push 0x3e
push 2
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.00477090
ret 8
mov eax, dword [esp + 8]
push 0
push 0
push 0x3d
push 0x3c
push 2
push edx
push eax
call fcn.00477090
ret 8
mov ecx, dword [esp + 8]
push 0x42
push 0x41
push 0x40
push 0x3b
push 2
push edx
push ecx
call fcn.00477090
ret 8
push 0
push 0x1a
push 0x19
push 0x18
push 2
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.00477090
ret 8
mov eax, dword [esp + 8]
push 0
push 0x21
push 0x20
push 0x1f
push 2
push edx
push eax
call fcn.00477090
ret 8
mov ecx, dword [esp + 8]
push 0
push 0
push 0x15
push 0x14
push 2
push edx
push ecx
call fcn.00477090
ret 8
push 0xf
push 0xe
push 0xd
push 0xc
push 2
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.00477090
ret 8
mov eax, dword [esp + 8]
push 0
push 0
push 0
push 0xc
push 2
push edx
push eax
call fcn.00477090
ret 8
mov ecx, dword [esp + 8]
push 5
push 4
push 3
push 2
push 2
push edx
push ecx
call fcn.00477090
ret 8
Function at 0x4ceab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
xor ebx, ebx
mov edx, 1
mov bl, byte [eax + 4]
push ebp
push esi
cmp ebx, edx
push edi
mov dword [esp + 0x10], 0
mov ecx, 5
mov dword [esp + 0x14], ebx
jl 0x4ceb1b
mov edi, dword [0x5390a4]
mov esi, dword [edi + 0x14]
mov ebp, dword [edi + 0xc]
mov eax, esi
shl eax, 4
add eax, esi
lea esi, [eax + eax*2]
mov eax, dword [esp + 0x1c]
shl esi, 1
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
sub edi, ebx
xor eax, eax
xor ebx, ebx
mov al, byte [edi + edx]
sub eax, esi
mov bl, byte [eax + ebp + 0x19e]
add ecx, ebx
mov ebx, dword [esp + 0x14]
inc edx
cmp edx, ebx
jle 0x4ceb00
mov edi, dword [esp + 0x20]
mov eax, dword [0x538c1c]
lea ebp, [esp + 0x10]
mov esi, edi
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x28]
push 0x3f800000
push 0xd
sub esi, ecx
push ecx
push 0x40
lea ecx, [ebp - 2]
push 0x36c
push ecx
push esi
push 5
push eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4ceb68
mov edx, dword [0x538c1c]
push 0x78
push 0x420690
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x538c1c]
lea edx, [esp + 0x10]
push edx
push 0x3f800000
mov ecx, dword [eax]
push 0xb
push 1
push 0x41
dec ebp
push 0x36c
push ebp
push edi
push 5
push eax
call dword [ecx + 0x78]
test eax, eax
fnclex
jge 0x4ceba8
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ebp, 1
add esi, 3
cmp ebx, ebp
mov dword [esp + 0x20], esi
jl 0x4cec94
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [0x5390a4]
sub ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x4cebd9
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
mov eax, edx
xor ebx, ebx
mov bl, byte [ecx + ebp]
mov ecx, 4
shl eax, 4
add eax, edx
mov esi, edi
sub ecx, edx
lea eax, [eax + eax*2]
shl eax, 1
sub esi, eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
movsx eax, word [edi + ecx*2]
lea edi, [esp + 0x10]
mov ecx, dword [0x538c1c]
push edi
push 0x3f800000
movsx edi, word [esi + 0x19a]
push edi
push eax
movsx esi, word [esi + 0x19c]
imul eax, ebx
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push eax
push 5
push ecx
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x4cec5b
mov ecx, dword [0x538c1c]
push 0x78
push 0x420690
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x5390a4]
mov esi, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xc]
shl edx, 1
sub ecx, edx
xor edx, edx
mov dl, byte [ecx + ebx + 0x19e]
mov ecx, dword [esp + 0x14]
add esi, edx
inc ebp
cmp ebp, ecx
mov dword [esp + 0x20], esi
jle 0x4cebd5
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc