joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fca2
Capabilities:
Parse credit card information

Disassembly:
push ecx
mov ecx, dword [esi + 0x40]
push ebx
xor al, al
push edi
mov bl, 1
cmp ecx, 0xffffffff
je 0x42fe38
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x42fe38
cmp ecx, 0x29
jne 0x42fce4
cmp dword [esi + 0x10], 0
jne 0x42fe38
test dword [esi + 0x44], edi
jne 0x42fce4
push 5
call fcn.0049e248
pop ecx
jmp 0x42fe21
cmp ecx, 0x2e
jne 0x42fd00
push 5
lea eax, [esi + 0x18]
push eax
call fcn.0042ff1b
mov eax, esi
call fcn.0042fc7a
jmp 0x42fe21
cmp ecx, 0x5c
jne 0x42fd5f
mov eax, esi
call fcn.0042fc7a
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x42fd33
cmp byte [esi + 0x3e], 0x62
jne 0x42fd33
push 4
lea eax, [esi + 0x18]
push eax
call fcn.0042ff1b
mov eax, esi
call fcn.0042fc7a
jmp 0x42fe28
test eax, eax
je 0x42fd53
cmp byte [esi + 0x3e], 0x42
jne 0x42fd53
push 4
lea eax, [esi + 0x18]
push eax
call fcn.0042ff1b
mov eax, dword [esi + 0x1c]
add eax, 8
or dword [eax], 1
jmp 0x42fd27
mov eax, esi
call fcn.00430720
jmp 0x42fe21
cmp ecx, 0x5b
jne 0x42fd89
mov eax, esi
call fcn.0042fc7a
mov eax, esi
call fcn.004306d5
cmp dword [esi + 0x40], 0x5d
je 0x42fcf4
push 4
call fcn.0049e248
pop ecx
jmp 0x42fcf4
cmp ecx, 0x28
jne 0x42fdb5
mov eax, esi
call fcn.0042fc7a
mov eax, esi
call fcn.004307ea
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x42fdac
push 5
call fcn.0049e248
pop ecx
mov eax, esi
call fcn.0042fc7a
jmp 0x42fe1d
cmp ecx, 0x5e
jne 0x42fdc1
push 2
jmp 0x42fd1e
cmp ecx, 0x24
jne 0x42fdcd
push 3
jmp 0x42fd1e
cmp ecx, 0x2a
je 0x42fe15
cmp ecx, 0x2b
je 0x42fe15
cmp ecx, 0x3f
je 0x42fe15
cmp ecx, 0x7b
je 0x42fe15
cmp ecx, 0x7d
jne 0x42fdf2
test dword [esi + 0x44], edi
jne 0x42fdf2
push 6
jmp 0x42fcd9
cmp ecx, 0x5d
jne 0x42fe03
test dword [esi + 0x44], edi
jne 0x42fe03
push 4
jmp 0x42fcd9
movzx eax, byte [esi + 0x3e]
push eax
lea eax, [esi + 0x18]
call fcn.00430980
jmp 0x42fcf4
push 0xa
call fcn.0049e248
pop ecx
test bl, bl
je 0x42fe28
mov eax, esi
call fcn.004308b8
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x42fcba
pop edi
pop ebx
pop ecx
ret
Function at 0x431c71
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0049fdd0
push 0xffffffffffffffff
push 0x4bf2a6
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1014]
mov esi, ecx
xor edi, edi
push str.CINIReader::GetText___start
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], edi
call fcn.00404bd0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], edi
call fcn.004017f5
or dword [ebp - 4], 0xffffffff
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x34]
call fcn.004058b3
cmp dword [esi + 0x1c], 8
jb 0x431d06
mov eax, dword [esi + 8]
jmp 0x431d09
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431d1e
push 0x4d51f0
jmp 0x431e25
push str.CINIReader::GetText___sSection
lea ecx, [ebp - 0x34]
call fcn.00404bd0
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.00401985
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x34]
call fcn.004058b3
push str.CINIReader::GetText___sParamName
lea ecx, [ebp - 0x34]
call fcn.00404bd0
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 2
call fcn.00401985
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x34]
call fcn.004058b3
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.0049f650
add esp, 0xc
cmp dword [esi + 0x1c], 8
jb 0x431d9d
mov esi, dword [esi + 8]
jmp 0x431da0
add esi, 8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 8
jb 0x431dae
mov ecx, dword [eax + 4]
jmp 0x431db1
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 8
jb 0x431dbf
mov eax, dword [eax + 4]
jmp 0x431dc2
add eax, 4
push esi
push 0x800
lea edx, [ebp]
push edx
push 0x4d51f0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.CINIReader::GetText___result
lea ecx, [ebp - 0x54]
call fcn.00404bd0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 3
call fcn.00404bd0
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 4
call fcn.00401985
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.004058b3
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0x54]
call fcn.004058b3
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00404bd0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x1004
leave
ret 0xc
Function at 0x4320f6
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x432197
cmp dword [esi + 0x1c], 8
jb 0x43210e
mov eax, dword [esi + 8]
jmp 0x432111
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432197
push ebx
push edi
lea edi, [esi + 0x20]
mov eax, edi
xor bl, bl
call fcn.004786d1
test al, al
je 0x432191
push 8
pop ebx
cmp dword [esi + 0x1c], ebx
jb 0x43213b
mov esi, dword [esi + 8]
jmp 0x43213e
add esi, 8
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
jb 0x43214c
mov edx, dword [eax + 4]
jmp 0x43214f
lea edx, [eax + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ebx
jb 0x43215d
mov ecx, dword [eax + 4]
jmp 0x432160
lea ecx, [eax + 4]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], ebx
jb 0x43216e
mov eax, dword [eax + 4]
jmp 0x432171
add eax, 4
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, eax
mov eax, dword [edi]
dec ebx
neg ebx
sbb bl, bl
inc bl
test eax, eax
je 0x432191
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov al, bl
pop ebx
jmp 0x432199
xor al, al
pop esi
ret 0xc
Function at 0x43259e
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x4bf263
call fcn.0049f542
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x24], bl
je 0x4326ee
cmp dword [esi + 0x1c], 8
jb 0x4325c6
mov eax, dword [esi + 8]
jmp 0x4325c9
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4326ee
lea eax, [esi + 0x20]
mov dword [ebp - 0x20], eax
call fcn.004786d1
test al, al
je 0x4326ee
push 0x511110
lea ecx, [ebp - 0x14]
call fcn.00404f19
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x28]
call fcn.00476acc
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x30]
call fcn.00476acc
mov edi, esi
lea esi, [ebp - 0x28]
call fcn.00407ce0
test al, al
je 0x4326d3
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add eax, 4
add ebx, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
jmp 0x432640
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x18], 8
jb 0x43264b
mov eax, dword [eax]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str._s_d
push eax
call fcn.0040642e
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax + 0x1c], 8
jb 0x43266e
mov edi, dword [eax + 8]
jmp 0x432671
lea edi, [eax + 8]
lea esi, [ebp - 0x28]
call fcn.00476440
cmp dword [eax + 0x18], 8
jb 0x432684
mov eax, dword [eax + 4]
jmp 0x432687
add eax, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 8
jb 0x432694
mov esi, dword [ebx]
jmp 0x432696
mov esi, ebx
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004049b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc dword [ebp - 0x10]
lea esi, [ebp - 0x28]
call fcn.00407cb5
mov edi, dword [ebp + 0x14]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x30]
call fcn.00476acc
mov edi, esi
lea esi, [ebp - 0x28]
call fcn.00407ce0
test al, al
jne 0x43263a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4326e3
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401713
call fcn.0049f61a
ret 0x10
Function at 0x433046
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x68
mov eax, 0x4bf236
call fcn.0049f5ab
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
push 8
pop ecx
mov esi, 0x4f27fc
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x48], 7
call fcn.00405ece
push 0xf0000000
xor edi, edi
inc edi
push edi
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4330bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x64]
push 0x4d51f0
call fcn.00404bd0
jmp 0x433195
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4330e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4330ab
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x4330f3
lea eax, [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push ebx
add ecx, ecx
push ecx
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
test eax, eax
jne 0x43311d
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4330ab
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x433169
mov dword [ebp - 0x74], ebx
cmp dword [ebp - 0x6c], ebx
jbe 0x433176
mov eax, dword [ebp - 0x74]
movzx eax, byte [ebp + eax - 0x20]
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x44]
push eax
lea esi, [ebp - 0x60]
call fcn.00404c18
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x6c]
jb 0x433143
jmp 0x433176
push 0x4d51f0
lea ecx, [ebp - 0x60]
call fcn.00405394
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
call fcn.00404bf2
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.004058b3
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.004058b3
mov eax, dword [ebp - 0x64]
call fcn.0049f62e
ret

Function at 0x437939
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x437962
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x4ee340]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x437942
pop esi
ret
Function at 0x437f47
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x437f87
cdq
mov esi, eax
add eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push edi
sub eax, 1
push esi
sbb ecx, 0
push ecx
push eax
call fcn.004ad800
push edi
push esi
push edx
push eax
call fcn.004b30d0
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
push dword [ebp + 0x10]
mov edi, ebx
push dword [ebp + 0xc]
call fcn.00437de8
pop ecx
pop ecx
test eax, eax
jne 0x437fb0
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x437fb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov dword [ebp - 4], 0x60a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437fe3
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438013
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x438013
mov dword [esi + 0x10], eax
mov eax, 0x70a
jmp 0x438033
push 1
push 0
push 0
push dword [ebp + 8]
call fcn.004b30d0
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x438a1f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5123ec]
push ebx
push esi
test eax, eax
je 0x438a59
push eax
push 0x4f3b34
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00436638
add esp, 0x10
jmp 0x438ad1
call fcn.00437bff
mov esi, 0xe6
test eax, eax
je 0x438a99
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.00437cac
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x438ab5
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f533
leave
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.00437d6d
jmp 0x438a81
push ebx
push 0x4f3b34
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.00436638
push ebx
call fcn.0049f900
add esp, 0x14
mov ecx, str.etilqs_
call fcn.00436ddc
lea ecx, [ebp - 0x110]
mov edx, eax
call fcn.00436ddc
lea eax, [edx + eax + 0x11]
cmp eax, 0x105
jl 0x438af8
xor eax, eax
inc eax
jmp 0x438a8b
lea ecx, [ebp - 0x110]
call fcn.00436ddc
test eax, eax
jbe 0x438b11
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x438b11
dec eax
jne 0x438b08
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xf4
call fcn.00436638
mov ecx, edi
call fcn.00436ddc
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.00436837
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x438b4a
mov byte [edi + esi], cl
xor eax, eax
jmp 0x438a8b

Function at 0x438df0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x14]
xor ebp, ebp
xor ebx, ebx
call fcn.004389e8
mov edi, eax
pop ecx
test edi, edi
jne 0x438e0f
push 7
pop eax
jmp 0x438e98
push esi
call fcn.00437bff
test eax, eax
je 0x438e4b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x438e7d
inc ebp
cmp ebp, 5
jge 0x438e7d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x438e19
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438e6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
jne 0x438e7d
inc ebp
cmp ebp, 5
jge 0x438e7d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x438e4b
push edi
call fcn.0049f900
pop ecx
cmp esi, 0xffffffff
pop esi
jne 0x438e93
cmp ebx, 2
jne 0x438e93
xor eax, eax
jmp 0x438e98
mov eax, 0xa0a
pop edi
pop ebp
pop ebx
ret
Function at 0x439030
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea ecx, [ebp - 0x110]
push ecx
push 0x104
push eax
push dword [ebp + 8]
mov dword [ebp - 0x118], 0x200
call fcn.00438f58
add esp, 0x10
test eax, eax
jne 0x439111
lea eax, [ebp - 0x110]
push eax
call fcn.004389e8
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x439107
call fcn.00437bff
test eax, eax
mov eax, esi
je 0x4390cb
cmp word [esi], bx
je 0x4390ac
cmp word [eax], 0x5c
je 0x4390a7
inc eax
inc eax
cmp word [eax], bx
jne 0x439098
jmp 0x4390ac
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4390fa
cmp byte [esi], bl
je 0x4390dd
cmp byte [eax], 0x5c
je 0x4390db
inc eax
cmp byte [eax], bl
jne 0x4390cf
jmp 0x4390dd
mov byte [eax], bl
lea eax, [ebp - 0x114]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.0049f900
pop ecx
cmp edi, ebx
jne 0x439111
mov dword [ebp - 0x118], 0x200
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f533
leave
ret
Function at 0x43c0b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x43c0f0
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x43c1ad
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x43c12a
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.004b30d0
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x43c12a
xor edi, edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x43c1ad
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x43c19d
test byte [esi + 0x14], 0x20
jne 0x43c19d
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.004b30d0
mov ecx, dword [esi]
push edx
push eax
push dword [ebx + 0x80]
mov eax, dword [ebx + 0x3c]
push ecx
mov dword [ebp - 8], ecx
call fcn.004349a0
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x43c18a
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
cmp edi, dword [ebx + 0x20]
jbe 0x43c192
mov dword [ebx + 0x20], edi
push dword [esi]
mov eax, dword [ebx + 0x58]
call fcn.00445b9c
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
je 0x43c128
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x451cfa
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x451d0c
xor eax, eax
jmp 0x451dfb
push esi
mov esi, dword [ebp + 8]
push 0x44
call fcn.0043556e
mov esi, eax
pop ecx
test esi, esi
je 0x451dfa
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.00451a84
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.00451b47
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.00451834
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.00451a84
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.00451834
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.00451a84
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.00451cfa
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.00451834
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.00451834
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x453db7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x453ecf
test esi, esi
je 0x453ecf
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x453e73
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x453e73
xor cl, dl
test cl, 0x10
jne 0x453e73
mov al, byte [edi]
cmp al, byte [esi]
jne 0x453e73
push dword [esi + 8]
push dword [edi + 8]
call fcn.00453db7
pop ecx
pop ecx
test eax, eax
jne 0x453e73
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.00453db7
pop ecx
pop ecx
test eax, eax
jne 0x453e73
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.00453ede
test eax, eax
jne 0x453e73
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x453e73
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x453e73
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x453e78
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x453e73
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x453ea2
push 2
pop eax
jmp 0x453eda
cmp byte [edi], 0x98
je 0x453ea2
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x453ea2
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x453e73
mov edx, dword [esi + 4]
test edx, edx
je 0x453e73
call fcn.00436ef8
test eax, eax
jne 0x453e73
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, 0x100
and ecx, eax
and dx, ax
cmp cx, dx
je 0x453ebe
xor eax, eax
inc eax
jmp 0x453eda
test cx, cx
je 0x453ecb
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x453e73
xor eax, eax
jmp 0x453eda
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret