joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 2
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 4
ja case.default.0x404e4a
mov edx, dword [ebp - 0xc]
jmp dword [edx*4 + 0x404ecc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe0]
and ecx, 1
je 0x404e66
mov dword [ebp - 4], 0
jmp case.default.0x404e4a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe0]
and eax, 2
je 0x404e7d
mov dword [ebp - 4], 0
jmp case.default.0x404e4a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe0]
and edx, 4
je 0x404e94
mov dword [ebp - 4], 0
jmp case.default.0x404e4a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe0]
and ecx, 0x10
je 0x404eab
mov dword [ebp - 4], 0
jmp case.default.0x404e4a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe0]
and eax, 0x20
je case.default.0x404e4a
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x407580
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00407780
add esp, 4
test eax, eax
je 0x4075d4
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x4075c7
cmp dword [ebp - 4], 5
je 0x4075c7
mov dword [ebp - 8], 0
jmp 0x4075ce
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x407700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40772f
mov eax, dword [ebp - 4]
and eax, 0x10
jne 0x40772f
mov dword [ebp - 8], 1
jmp 0x407736
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x407740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40776f
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x40776f
mov dword [ebp - 8], 1
jmp 0x407776
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x407a50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00407780
add esp, 4
test eax, eax
jne 0x407aa6
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x407a99
mov ecx, dword [ebp - 4]
and ecx, 0x800
je 0x407a99
mov dword [ebp - 8], 1
jmp 0x407aa0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x407ab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00407780
add esp, 4
test eax, eax
jne 0x407b06
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x407af9
mov ecx, dword [ebp - 4]
and ecx, 0x4000
je 0x407af9
mov dword [ebp - 8], 1
jmp 0x407b00
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4080e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.0040cef0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
je 0x408111
cmp dword [ebp - 0xc], 5
je 0x408111
mov eax, 1
jmp 0x4081a7
push 0
mov ecx, dword [ebp + 8]
call fcn.0040bb40
movsx eax, al
sub eax, 0x41
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x224]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [ebp - 0x14]
test eax, eax
je 0x408156
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 0x14c], edx
jmp 0x40816b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax*4 + 0x14c], 0xffffffff
xor eax, eax
jmp 0x4081a7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x14c]
cmp ecx, dword [ebp - 0x10]
je 0x4081a2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + edx*4 + 0x14c], 0xffffffff
je 0x4081a2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x14c], 0xffffffff
xor eax, eax
jmp 0x4081a7
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x409020
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ae36
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x284], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x280]
call fcn.0040f0e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x278]
cmp dword [ecx + 0x1b8], 0
je 0x4091d3
mov edx, dword [ebp - 0x278]
cmp dword [edx + 0x1b4], 0
je 0x4091d3
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax + 0x1b8]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x278]
mov eax, dword [edx + 0x1b8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x298], edx
mov ecx, dword [ebp + 0xc]
call fcn.0040cef0
push eax
lea ecx, [ebp - 0x274]
call fcn.0040cec0
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28c]
call fcn.0040cef0
mov dword [ebp - 0x290], eax
push 0
lea ecx, [ebp - 0x27c]
push ecx
push 0
mov edx, dword [ebp - 0x290]
push edx
push 0
push 0
mov eax, dword [ebp - 0x294]
push eax
call dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.0040cb40
cmp dword [ebp - 0x29c], 0
jl 0x4091d3
push 0x160
push 0
lea ecx, [ebp - 0x170]
push ecx
call fcn.00633f10
add esp, 0xc
push 0x208
push 0x160
lea edx, [ebp - 0x170]
push edx
push 0
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x409196
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0040db70
mov edx, dword [ebp - 0x278]
mov eax, dword [edx + 0x1b4]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x278]
mov edx, dword [ecx + 0x1b4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x2a0]
push eax
call dword [ebp - 0x2a4]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040f0e0
mov edx, dword [ebp - 0x284]
or edx, 1
mov dword [ebp - 0x284], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.0040ed10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret 8

Function at 0x40cf50
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x40e1b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e1d4
xor eax, eax
jmp 0x40e254
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e1eb
xor eax, eax
jmp 0x40e254
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x40e237
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x40e237
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40e20e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x40e243
xor eax, eax
jmp 0x40e254
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x40e251
xor eax, eax
jmp 0x40e254
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x416b60
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65bd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0x164]
call fcn.0040ec90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00411960
mov ecx, dword [ebp - 0x16c]
add ecx, 0x2f0
call fcn.00420db0
test eax, eax
je 0x416cf2
mov eax, dword [ebp - 0x16c]
add eax, 0x370
mov dword [ebp - 0x174], eax
push 1
lea ecx, [ebp - 0x160]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040cef0
push eax
mov ecx, dword [ebp - 0x174]
call fcn.00423140
mov dl, byte [0x6c5e0b]
mov byte [ebp - 0x114], dl
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.00633f10
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x114]
push eax
push 0x6c6230
lea ecx, [ebp - 0x164]
push ecx
call fcn.0040e010
add esp, 0x10
push 0x6c6238
lea ecx, [ebp - 0x164]
call fcn.0040cef0
push eax
call fcn.0063af62
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x416cc4
push 0
push 0
push str.Failed_to_decompress_the_file
mov ecx, dword [ebp - 0x16c]
call fcn.004f013c
push 0x6c5e0e
mov ecx, dword [ebp + 8]
call fcn.0040d7f0
mov edx, dword [ebp - 0x168]
or edx, 1
mov dword [ebp - 0x168], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.0040ed10
mov eax, dword [ebp + 8]
jmp 0x416d25
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 1
mov edx, dword [ebp - 0x11c]
push edx
call fcn.0063b1f8
add esp, 0x10
mov eax, dword [ebp - 0x170]
push eax
call fcn.0063b2c6
add esp, 4
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040f0e0
mov edx, dword [ebp - 0x168]
or edx, 1
mov dword [ebp - 0x168], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.0040ed10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret 8
Function at 0x429560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x38], ecx
call fcn.00410010
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0040ffe0
add esp, 8
movzx edx, al
test edx, edx
je 0x4295a4
lea eax, [ebp + 8]
push eax
call fcn.00421510
add esp, 4
jmp 0x429739
mov ecx, dword [ebp - 0x38]
call fcn.00426300
test eax, eax
je 0x4295ea
mov ecx, dword [ebp - 0x38]
call fcn.00426300
mov esi, eax
mov ecx, dword [ebp - 0x38]
call fcn.00426240
cmp esi, eax
jae 0x4295ea
lea ecx, [ebp + 8]
push ecx
call fcn.00421500
add esp, 4
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x38]
call fcn.0041ec50
mov dl, byte [ebp - 0x39]
mov byte [eax], dl
mov eax, dword [ebp + 8]
jmp 0x429739
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x4c], 0
jne 0x4295fd
call fcn.00410010
jmp 0x429739
mov ecx, dword [ebp - 0x38]
call fcn.00429e80
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x38], 0
jne 0x429656
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x54], eax
lea ecx, [ebp + 8]
push ecx
call fcn.00421500
add esp, 4
mov byte [ebp - 0x3a], al
mov edx, dword [ebp - 0x54]
push edx
movzx eax, byte [ebp - 0x3a]
push eax
call fcn.00428460
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x429646
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
jmp 0x42964e
call fcn.00410010
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
jmp 0x429739
mov dword [ebp - 0x5c], 0x20
lea eax, [ebp + 8]
push eax
call fcn.00421500
add esp, 4
mov byte [ebp - 0x2a], al
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x29]
push ecx
lea edx, [ebp - 0x2a]
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00429d00
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x429734
cmp dword [ebp - 0x40], 1
jle 0x4296b7
cmp dword [ebp - 0x40], 3
je 0x429704
jmp 0x429734
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x44], ecx
je 0x4296e9
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.0063b1f8
add esp, 0x10
cmp dword [ebp - 0x44], eax
je 0x4296e9
call fcn.00410010
jmp 0x429739
mov ecx, dword [ebp - 0x38]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2a]
cmp dword [ebp - 0x34], edx
je 0x4296fd
mov eax, dword [ebp + 8]
jmp 0x429739
call fcn.00410010
jmp 0x429739
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2a]
push edx
call fcn.00428460
add esp, 8
movzx eax, al
test eax, eax
je 0x429727
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
jmp 0x42972f
call fcn.00410010
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
jmp 0x429739
call fcn.00410010
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret 4
Function at 0x429f10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x6f7d14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x429f37
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x429f3e
mov al, 1
jmp 0x42a022
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
call fcn.00410010
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.00410010
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040ffe0
add esp, 8
movzx eax, al
test eax, eax
je 0x429f84
xor al, al
jmp 0x42a022
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0042a290
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x429fc6
cmp dword [ebp - 0x34], 1
je 0x429fcd
cmp dword [ebp - 0x34], 3
je 0x42a01c
jmp 0x42a020
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x429ffc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.0063b1f8
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x429ffc
xor al, al
jmp 0x42a022
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x42a010
mov dword [ebp - 0x3c], 1
jmp 0x42a017
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
jmp 0x42a022
mov al, 1
jmp 0x42a022
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062fc3e
mov esp, ebp
pop ebp
ret
Function at 0x4375d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x437606
mov eax, dword [esi]
test eax, eax
je 0x437606
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4375f5
push 1
call fcn.0063b548
mov ecx, eax
add esp, 4
mov eax, dword [esi]
push ecx
push dword [esi + 4]
push 1
push eax
call fcn.0063b1f8
add esp, 0x10
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x458530
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
jle 0x45857b
mov edi, dword [esp + 0xc]
test edi, edi
je 0x45857b
mov ecx, dword [esp + 0x14]
xor edx, edx
test esi, esi
jle 0x458568
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp edx, esi
jl 0x458550
lea ecx, [ecx + ecx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
pop edi
imul eax, eax, 0x8001
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x458580
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x14]
xor edx, edx
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
jle 0x4585ac
mov edi, dword [esp + 0xc]
movzx eax, byte [edx + edi]
inc edx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp edx, esi
jl 0x458594
mov esi, dword [esp + 0x18]
lea eax, [ecx + 0x3a]
imul ecx, eax, 0x401
xor edx, edx
mov eax, ecx
shr eax, 6
xor ecx, eax
test esi, esi
jle 0x4585e8
mov edi, dword [esp + 0x14]
nop word [eax + eax]
movzx eax, byte [edx + edi]
inc edx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp edx, esi
jl 0x4585d0
lea ecx, [ecx + ecx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
pop edi
imul eax, eax, 0x8001
pop esi
ret
Function at 0x459920
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
je 0x45995c
mov bl, byte [esi]
movzx ecx, bl
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
test bl, bl
je 0x45995c
nop
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459940
mov esi, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x459994
mov bl, byte [esi]
test bl, bl
je 0x459994
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459978
mov esi, dword [esp + 0x18]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x4599cc
mov bl, byte [esi]
test bl, bl
je 0x4599cc
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x4599b0
mov ecx, dword [esp + 0xc]
xor edx, edx
pop esi
pop ebx
div dword [ecx + 4]
mov eax, edx
ret
Function at 0x4599e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov eax, edi
cmove eax, esi
movzx eax, byte [eax]
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
mov eax, ecx
test edi, edi
je 0x459a3d
mov bl, byte [edi]
test bl, bl
je 0x459a2c
nop word [eax + eax]
mov edx, eax
lea edi, [edi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [edi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459a10
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
test esi, esi
je 0x459a63
mov bl, byte [esi]
test bl, bl
je 0x459a63
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459a47
mov esi, dword [esp + 0x1c]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x459aad
mov bl, byte [esi]
test bl, bl
je 0x459a9c
nop
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459a80
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x459adc
mov bl, byte [esi]
test bl, bl
je 0x459adc
nop dword [eax + eax]
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459ac0
mov esi, dword [esp + 0x24]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x459b25
mov bl, byte [esi]
test bl, bl
je 0x459b14
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459af8
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
mov esi, dword [esp + 0x28]
test esi, esi
je 0x459b4f
mov bl, byte [esi]
test bl, bl
je 0x459b4f
mov edx, eax
lea esi, [esi + 1]
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
movsx ecx, bl
mov bl, byte [esi]
add edx, ecx
xor eax, edx
test bl, bl
jne 0x459b33
mov ecx, dword [esp + 0x10]
xor edx, edx
pop edi
pop esi
pop ebx
div dword [ecx + 4]
mov eax, edx
ret
Function at 0x465fc0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x465fce
or eax, 0xffffffff
pop ebx
ret
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x10]
mov al, byte [esi]
cmp al, 0x61
jl 0x465fe4
cmp al, 0x7a
jle 0x4660ca
cmp al, 0x41
jl 0x465ff0
cmp al, 0x5a
jle 0x4660ca
cmp al, 0x30
jl 0x465ffc
cmp al, 0x39
jle 0x4660ca
cmp al, 0x2d
je 0x4660ca
cmp al, 0x2e
je 0x4660ca
cmp al, 0x5f
je 0x4660ca
cmp al, 0x7e
je 0x4660ca
cmp al, 0x25
jne 0x466062
mov cl, byte [esi + 1]
cmp cl, 0x30
jl 0x46602d
cmp cl, 0x39
jle 0x46603f
cmp cl, 0x61
jl 0x466037
cmp cl, 0x66
jle 0x46603f
sub cl, 0x41
cmp cl, 5
ja 0x4660a6
mov cl, byte [esi + 2]
cmp cl, 0x30
jl 0x46604c
cmp cl, 0x39
jle 0x4660ca
cmp cl, 0x61
jl 0x466056
cmp cl, 0x66
jle 0x4660ca
cmp cl, 0x41
jl 0x4660a6
cmp cl, 0x46
jle 0x4660ca
jmp 0x4660a6
cmp al, 0x21
je 0x4660ca
cmp al, 0x24
je 0x4660ca
cmp al, 0x26
je 0x4660ca
cmp al, 0x28
je 0x4660ca
cmp al, 0x29
je 0x4660ca
cmp al, 0x2a
je 0x4660ca
cmp al, 0x2b
je 0x4660ca
cmp al, 0x2c
je 0x4660ca
cmp al, 0x3b
je 0x4660ca
cmp al, 0x3d
je 0x4660ca
cmp al, 0x27
je 0x4660ca
cmp al, 0x3a
je 0x4660ca
cmp al, 0x40
je 0x4660ca
cmp al, 0x2f
je 0x4660ca
cmp al, 0x3f
je 0x4660ca
cmp al, 0x5b
je 0x4660ca
cmp al, 0x5d
je 0x4660ca
test edi, edi
je 0x466124
mov edx, dword [edi + 0x24]
test dl, 1
je 0x4660e1
cmp al, 0x7b
je 0x4660ca
cmp al, 0x7d
je 0x4660ca
cmp al, 0x7c
je 0x4660ca
cmp al, 0x5c
je 0x4660ca
cmp al, 0x5e
je 0x4660ca
cmp al, 0x60
jne 0x4660e1
xor ecx, ecx
cmp al, 0x25
sete cl
lea esi, [esi + ecx*2]
inc esi
lea ecx, [ecx*2 + 1]
jmp 0x465fd6
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4660f5
push eax
call dword [sym.KomManager.exe_xmlFree]
mov edx, dword [edi + 0x24]
add esp, 4
mov ecx, dword [ebx]
mov eax, esi
sub eax, ecx
test dl, 2
je 0x466115
push eax
push ecx
call sym.KomManager.exe_xmlStrndup
add esp, 8
mov dword [edi + 0x20], eax
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push eax
push ecx
call sym.KomManager.exe_xmlURIUnescapeString
add esp, 0xc
mov dword [edi + 0x20], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebx
ret