joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ac5a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43ac97
cmp dword [ebp + 0x14], edi
je 0x43ac97
cmp ecx, edi
jne 0x43ac9e
call fcn.0043bcd6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043e76b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43acb2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43acd3
cmp ebx, 0xffffffff
je 0x43acc2
push ebx
push edi
push ecx
call fcn.00436910
add esp, 0xc
cmp esi, edi
je 0x43ac7f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43ac7f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43acef
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43acf6
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43ade7
test word [esi + 0xc], 0x10c
je 0x43ad4a
mov eax, dword [esi + 4]
test eax, eax
je 0x43ad4a
jl 0x43ae48
cmp ebx, eax
mov edi, ebx
jb 0x43ad1b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43adef
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004363da
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43addf
cmp ebx, dword [ebp - 0xc]
jb 0x43adb7
cmp dword [ebp - 0xc], 0
je 0x43ad74
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43ad69
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43ad70
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43ad7f
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43ad7f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43ae1b
push eax
push dword [ebp - 8]
push esi
call fcn.0043c1fa
pop ecx
push eax
call fcn.004467ae
add esp, 0xc
test eax, eax
je 0x43ae5a
cmp eax, 0xffffffff
je 0x43ae48
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43addf
push esi
call fcn.0044493c
cmp eax, 0xffffffff
pop ecx
je 0x43ae4c
cmp dword [ebp - 4], 0
je 0x43ae1b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43acfe
mov eax, dword [ebp + 0x14]
jmp 0x43ac99
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43ae06
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00436910
add esp, 0xc
call fcn.0043bcd6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43ac8f
cmp dword [ebp + 0xc], 0xffffffff
je 0x43ae31
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00436910
add esp, 0xc
call fcn.0043bcd6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43ac8f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43ac99
or dword [esi + 0xc], 0x10
jmp 0x43ae4c
Function at 0x43cf67
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46ce90]
je 0x43cf82
inc edi
cmp edi, 0x17
jb 0x43cf73
cmp edi, 0x17
jae 0x43d102
push ebp
push 3
call fcn.0044972f
cmp eax, 1
pop ecx
je 0x43d0ce
push 3
call fcn.0044972f
test eax, eax
pop ecx
jne 0x43cfb6
cmp dword [0x46c9dc], 1
je 0x43d0ce
cmp ebx, 0xfc
je 0x43d101
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x470d08
push ebp
call fcn.004496ca
add esp, 0xc
test eax, eax
je 0x43cfec
push esi
push esi
push esi
push esi
push esi
call fcn.0043e66f
add esp, 0x14
push 0x104
mov esi, 0x470d21
push esi
push 0
mov byte [0x470e25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43d030
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004496ca
add esp, 0xc
test eax, eax
je 0x43d030
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043e66f
add esp, 0x14
push esi
call fcn.004396f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43d075
push esi
call fcn.004396f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47101c
push 0x45859c
sub ecx, eax
push ecx
push eax
call fcn.00449617
add esp, 0x14
test eax, eax
je 0x43d075
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043e66f
add esp, 0x14
jmp 0x43d077
xor esi, esi
push 0x458598
push ebx
push ebp
call fcn.004495a6
add esp, 0xc
test eax, eax
je 0x43d097
push esi
push esi
push esi
push esi
push esi
call fcn.0043e66f
add esp, 0x14
push dword [edi*8 + 0x46ce94]
push ebx
push ebp
call fcn.004495a6
add esp, 0xc
test eax, eax
je 0x43d0b9
push esi
push esi
push esi
push esi
push esi
call fcn.0043e66f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004493e9
add esp, 0xc
jmp 0x43d101
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43d101
cmp ebp, 0xffffffff
je 0x43d101
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46ce94]
push dword [esi]
call fcn.004396f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4493e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043db2b
xor ebx, ebx
cmp dword [0x47180c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4494bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44959f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44959f
push eax
call fcn.0043dabd
mov dword [esp], 0x4589f0
push edi
mov dword [0x47180c], eax
call esi
push eax
call fcn.0043dabd
mov dword [esp], 0x4589dc
push edi
mov dword [0x471810], eax
call esi
push eax
call fcn.0043dabd
mov dword [0x471814], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00439824
test eax, eax
pop ecx
pop ecx
je 0x44948d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e66f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4494bf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043dabd
cmp eax, ebx
pop ecx
mov dword [0x47181c], eax
je 0x4494bf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043dabd
pop ecx
mov dword [0x471818], eax
mov eax, dword [0x471818]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x449544
cmp dword [0x47181c], ecx
je 0x449544
push eax
call fcn.0043db34
push dword [0x47181c]
mov esi, eax
call fcn.0043db34
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x449544
cmp edi, ebx
je 0x449544
call esi
cmp eax, ebx
je 0x449511
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x449511
test byte [ebp - 0x18], 1
jne 0x449544
lea eax, [ebp - 0x10]
push eax
call fcn.0043985b
test eax, eax
pop ecx
je 0x44952c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e66f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44953b
or dword [ebp + 0x10], 0x200000
jmp 0x44957f
or dword [ebp + 0x10], 0x40000
jmp 0x44957f
mov eax, dword [0x471810]
cmp eax, dword [ebp - 8]
je 0x44957f
push eax
call fcn.0043db34
cmp eax, ebx
pop ecx
je 0x44957f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44957f
mov eax, dword [0x471814]
cmp eax, dword [ebp - 8]
je 0x44957f
push eax
call fcn.0043db34
cmp eax, ebx
pop ecx
je 0x44957f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47180c]
call fcn.0043db34
cmp eax, ebx
pop ecx
je 0x44959f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4495a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f7c0
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x6309a7
call fcn.005e6b2b
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x42f8c0
cmp byte [ebx + 0x3d], 0
je 0x42f8c0
push 0xffffffffffffffff
call fcn.0042fa12
cmp eax, 0xffffffff
sete al
test al, al
je 0x42f7fa
xor al, al
jmp 0x42f8c2
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0042827e
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42f858
sub eax, 1
je 0x42f85c
dec eax
sub eax, 1
je 0x42f8ae
xor bl, bl
jmp 0x42f8b0
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x42f894
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00610e6d
add esp, 0x10
cmp esi, eax
jne 0x42f854
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x42f8ae
test esi, esi
jne 0x42f81e
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004278ee
jmp 0x42f818
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429bd2
mov al, bl
jmp 0x42f8c2
mov al, 1
call fcn.005e6ad5
ret
Function at 0x42fa12
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x62fbbd
call fcn.005e6b2b
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x42fa3e
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x42fba2
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x42fa6c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x42fa6c
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x42fba2
cmp dword [esi + 0x4c], 0
je 0x42fba0
mov ecx, esi
call fcn.0042f9ef
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x42faa0
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.00610b31
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x42fba0
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x29], al
mov dword [ebp - 0x14], 0xf
call fcn.0042827e
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x42fb94
cmp eax, 1
jg 0x42fb77
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x42fb48
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00610e6d
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x42fb94
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x42fb72
test edx, edx
jne 0x42fac8
cmp dword [ebp - 0x18], 0x20
jae 0x42fb94
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004278ee
jmp 0x42fac5
mov ebx, dword [ebp + 8]
jmp 0x42fb94
cmp eax, 3
jne 0x42fb94
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call fcn.00610b31
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00429bd2
mov eax, ebx
call fcn.005e6ad5
ret 4
Function at 0x44984d
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x62fbbd
call fcn.005e6b2b
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x449872
xor eax, eax
jmp 0x4499e7
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x44989e
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x44989e
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4499e7
cmp dword [esi + 0x4c], 0
je 0x4499e4
mov ecx, esi
call fcn.00449b96
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x4498d2
push dword [esi + 0x4c]
push edi
call fcn.006122e3
pop ecx
pop ecx
cmp ax, bx
je 0x4499e4
movzx ebx, di
jmp 0x4499e4
push ecx
movzx eax, di
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0xf
call fcn.0042827e
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x4499d8
cmp eax, 1
jg 0x4499b2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x44997d
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00610e6d
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x4499ad
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], eax
jne 0x4499a7
test edx, edx
jne 0x4498fd
cmp dword [ebp - 0x18], 0x20
jae 0x4499d2
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004278ee
jmp 0x4498fa
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4499d2
cmp eax, 3
jne 0x4499d8
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.006122e3
pop ecx
pop ecx
cmp ax, bx
je 0x4499d2
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00429bd2
mov ax, bx
call fcn.005e6ad5
ret 4
Function at 0x449bbb
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x6309a7
call fcn.005e6b2b
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x449cc2
cmp byte [ebx + 0x3e], 0
je 0x449cc2
mov esi, 0xffff
push esi
call fcn.0044984d
movzx eax, ax
cmp si, ax
sete al
test al, al
je 0x449bfc
xor al, al
jmp 0x449cc4
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0042827e
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x449c5a
sub eax, 1
je 0x449c5e
dec eax
sub eax, 1
je 0x449cb0
xor bl, bl
jmp 0x449cb2
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x449c96
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00610e6d
add esp, 0x10
cmp esi, eax
jne 0x449c56
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3e], 0
je 0x449cb0
test esi, esi
jne 0x449c20
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004278ee
jmp 0x449c1a
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00429bd2
mov al, bl
jmp 0x449cc4
mov al, 1
call fcn.005e6ad5
ret
Function at 0x45d2c5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63714c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x6ea000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.MsiInstaller.0
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
mov dword [edi + 0x84], 4
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], esi
call fcn.0044c746
lea ecx, [edi + 0xc]
call fcn.005fef60
lea ecx, [edi + 0xc]
call fcn.004471fc
mov dword [ebp - 4], 7
jmp 0x45d376
push 0
push 1
lea ecx, [edi + 0x50]
call fcn.00427617
mov ecx, esi
call fcn.00433161
xor ecx, ecx
lea eax, [edi + 0x2c]
xchg dword [eax], ecx
mov esi, dword [0x65d4d4]
test ecx, ecx
je 0x45d39d
push ecx
call esi
xor ecx, ecx
lea eax, [edi + 0x1c]
xchg dword [eax], ecx
test ecx, ecx
je 0x45d3ab
push ecx
call esi
mov byte [ebp - 4], 0xb
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x45d3bb
call fcn.00445b7c
lea esi, [edi + 0xc]
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.005fe950
cmp dword [esi], 0
je 0x45d3d6
push dword [esi]
call fcn.00447169
pop ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x45d3e6
call fcn.00445b7c
mov ecx, edi
call fcn.0045f069
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b231
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x48b394
mov edx, 0x10000000
cmp eax, 0x7c
je 0x48b394
cmp eax, 0x29
jne 0x48b26a
cmp dword [esi + 0x10], 0
jne 0x48b394
test dword [esi + 0x50], edx
je 0x48b39a
cmp eax, 0x2e
jne 0x48b285
push 5
lea ecx, [esi + 0x24]
call fcn.0048b488
mov ecx, esi
call fcn.0048b20e
jmp 0x48b37e
cmp eax, 0x5c
jne 0x48b2e0
mov ecx, esi
call fcn.0048b20e
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x48b2b7
cmp byte [esi + 0x48], 0x62
jne 0x48b2b7
push 4
lea ecx, [esi + 0x24]
call fcn.0048b488
mov ecx, esi
call fcn.0048b20e
jmp 0x48b385
test eax, eax
je 0x48b2d4
cmp byte [esi + 0x48], 0x42
jne 0x48b2d4
push 4
lea ecx, [esi + 0x24]
call fcn.0048b488
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x48b2ab
mov ecx, esi
call fcn.0048c3fe
jmp 0x48b37e
cmp eax, 0x5b
jne 0x48b300
mov ecx, esi
call fcn.0048b20e
mov ecx, esi
call fcn.0048c3b2
cmp dword [esi + 0x4c], 0x5d
je 0x48b279
push 4
jmp 0x48b39c
cmp eax, 0x28
jne 0x48b324
mov ecx, esi
call fcn.0048b20e
mov ecx, esi
call fcn.0048c4ed
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x48b39a
mov ecx, esi
call fcn.0048b20e
jmp 0x48b37a
cmp eax, 0x5e
jne 0x48b330
push 2
jmp 0x48b2a3
cmp eax, 0x24
jne 0x48b33c
push 3
jmp 0x48b2a3
cmp eax, 0x2a
je 0x48b390
cmp eax, 0x2b
je 0x48b390
cmp eax, 0x3f
je 0x48b390
cmp eax, 0x7b
je 0x48b390
cmp eax, 0x7d
jne 0x48b35a
test dword [esi + 0x50], edx
je 0x48b38c
cmp eax, 0x5d
jne 0x48b364
test dword [esi + 0x50], edx
je 0x48b2f9
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0048c6a3
mov ecx, esi
call fcn.0048b20e
mov bl, 1
test bl, bl
je 0x48b385
mov ecx, esi
call fcn.0048c5df
mov cl, 1
jmp 0x48b238
push 6
jmp 0x48b39c
push 0xa
jmp 0x48b39c
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.005e7a2c
int3
Function at 0x49c30b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x40003c]
push esi
push edi
mov esi, 0x400000
mov byte [ebp - 1], 0
mov edi, dword [ebx + 0x400080]
and dword [ebp - 0x10], 0
add edi, esi
cmp dword [ebx + 0x400074], 0xc
jbe 0x49c386
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x4000d8]
push 4
push dword [ebx + 0x4000dc]
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
mov ecx, esi
call dword [0x65dbac]
call esi
test eax, eax
jne 0x49c37d
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x6a9630
mov ecx, esi
call dword [0x65dbac]
call esi
xor al, al
jmp 0x49c4dc
mov byte [ebp - 1], 1
mov esi, 0x400000
cmp dword [edi], 0
je 0x49c4a6
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
add ecx, esi
add eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.0049d40e
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x49c4ea
mov eax, dword [edi]
xor edx, edx
mov dword [ebp - 0x1c], edx
lea eax, [eax + 0x400000]
mov dword [ebp - 0x24], eax
cmp dword [eax], edx
je 0x49c49b
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jns 0x49c3f0
movzx eax, ax
push eax
push ecx
mov ecx, esi
call dword [0x65dbac]
call esi
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x49c407
lea eax, [eax + 0x400002]
push eax
push ecx
mov ecx, esi
call dword [0x65dbac]
call esi
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49c4e3
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
je 0x49c420
mov edx, dword [ebp - 0x14]
mov dword [eax + edx], ecx
jmp 0x49c475
add eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 8], 0
push ecx
push 4
push 4
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call dword [0x65dbac]
call esi
test eax, eax
je 0x49c376
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ecx
mov ecx, esi
call dword [0x65dbac]
call esi
test eax, eax
je 0x49c376
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
inc edx
mov ecx, edx
mov dword [ebp - 0x1c], edx
shl ecx, 2
xor edx, edx
add eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x28]
cmp dword [eax], edx
jne 0x49c3ce
mov esi, 0x400000
add edi, 0x14
cmp dword [edi], edx
jne 0x49c38f
cmp byte [ebp - 1], 0
je 0x49c4da
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x4000d8]
push dword [ebx + 0x4000dc]
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
mov ecx, esi
call dword [0x65dbac]
call esi
test eax, eax
je 0x49c376
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.EEC2:_failed_to_resolve_function_from_module:
jmp 0x49c4ef
push str.EEC2:_failed_to_load_module:
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
call dword [0x65dbac]
call esi
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x49c36c
Function at 0x49c50d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [section..eecseg], 0xeecc04f1
push esi
je 0x49c53a
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
push str.EEC2:_EEC_magic_is_incorrect
call dword [0x65dbac]
call esi
xor al, al
jmp 0x49c60d
push edi
mov edi, dword [0x40003c]
cmp dword [edi + 0x400074], 1
ja 0x49c566
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
push str.EEC2:_no_import_table_present
call dword [0x65dbac]
call esi
xor al, al
jmp 0x49c60c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, esi
push ebx
push eax
mov eax, dword [edi + 0x400074]
lea ebx, [edi + 0x400078]
push 4
shl eax, 3
push eax
push ebx
call dword [0x65dbac]
call esi
test eax, eax
jne 0x49c5af
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
push str.EEC2:_failed_to_unprotect_data_directories
call dword [0x65dbac]
call esi
xor al, al
jmp 0x49c60b
cmp dword [edi + 0x400074], 0xc
jbe 0x49c5ce
mov eax, dword [0x717018]
mov dword [edi + 0x4000d8], eax
mov eax, dword [0x71701c]
mov dword [edi + 0x4000dc], eax
mov eax, dword [0x717010]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, esi
mov dword [edi + 0x400080], eax
mov eax, dword [0x717014]
mov dword [edi + 0x400084], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov eax, dword [edi + 0x400074]
shl eax, 3
push eax
push ebx
call dword [0x65dbac]
call esi
call fcn.0049c30b
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret