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

Disassembly:
mov edi, edi
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x40]
cmp eax, 0xffff
je 0x4151b1
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4151b1
cmp eax, 0x29
jne 0x415059
cmp dword [esi + 0x10], 0
jne 0x4151b1
test dword [esi + 0x44], edx
jne 0x415059
push 5
call fcn.0042f2c6
pop ecx
jmp 0x415193
cmp eax, 0x2e
jne 0x415074
push 5
lea ecx, [esi + 0x18]
call fcn.004152cd
mov ecx, esi
call fcn.00414fe5
jmp 0x415193
cmp eax, 0x5c
jne 0x4150d1
mov ecx, esi
call fcn.00414fe5
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x4150a7
cmp word [esi + 0x3e], 0x62
jne 0x4150a7
push 4
lea ecx, [esi + 0x18]
call fcn.004152cd
mov ecx, esi
call fcn.00414fe5
jmp 0x41519a
test eax, eax
je 0x4150c5
cmp word [esi + 0x3e], 0x42
jne 0x4150c5
push 4
lea ecx, [esi + 0x18]
call fcn.004152cd
mov eax, dword [esi + 0x1c]
xor dword [eax + 8], 1
jmp 0x41509b
mov ecx, esi
call fcn.0041579c
jmp 0x415193
cmp eax, 0x5b
jne 0x4150fb
mov ecx, esi
call fcn.00414fe5
mov ecx, esi
call fcn.00415749
cmp dword [esi + 0x40], 0x5d
je 0x415068
push 4
call fcn.0042f2c6
pop ecx
jmp 0x415068
cmp eax, 0x28
jne 0x415127
mov ecx, esi
call fcn.00414fe5
mov ecx, esi
call fcn.00415883
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x41511e
push 5
call fcn.0042f2c6
pop ecx
mov ecx, esi
call fcn.00414fe5
jmp 0x41518f
cmp eax, 0x5e
jne 0x415133
push 2
jmp 0x415093
cmp eax, 0x24
jne 0x41513f
push 3
jmp 0x415093
cmp eax, 0x2a
je 0x415187
cmp eax, 0x2b
je 0x415187
cmp eax, 0x3f
je 0x415187
cmp eax, 0x7b
je 0x415187
cmp eax, 0x7d
jne 0x415164
test dword [esi + 0x44], edx
jne 0x415164
push 6
jmp 0x41504e
cmp eax, 0x5d
jne 0x415175
test dword [esi + 0x44], edx
jne 0x415175
push 4
jmp 0x41504e
movzx eax, word [esi + 0x3e]
lea ecx, [esi + 0x18]
push eax
call fcn.00415a77
jmp 0x415068
push 0xa
call fcn.0042f2c6
pop ecx
test bl, bl
je 0x41519a
mov ecx, esi
call fcn.0041598f
mov eax, dword [esi + 0x40]
mov cl, 1
mov bl, cl
mov edx, 0x10000000
cmp eax, 0xffff
jne 0x41502f
pop esi
mov al, cl
pop ebx
pop ecx
ret
Function at 0x41f474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4395c8]
xor eax, esp
mov dword [esp + 0x78], eax
and dword [esp + 0x68], 0
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x78]
mov dword [esp + 0x10], edx
stosd dword es:[edi], eax
mov esi, ecx
push 0x50
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
call sub.msvcrt.dll_memset
xor ebx, ebx
xor edi, edi
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x10], ebx
je 0x41f583
cmp dword [esi + 0x10], ebx
je 0x41f583
cmp dword [esi + 0x14], 8
jb 0x41f4d9
mov esi, dword [esi]
push ecx
lea eax, [esp + 0x78]
mov ecx, esi
push eax
lea edx, [esp + 0x28]
call fcn.0042b5ad
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x41f50f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41f588
movzx esi, si
or esi, 0x80070000
jmp 0x41f588
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.0041f5f8
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0042b6d1
mov edi, dword [esp + 0x18]
mov esi, eax
mov ebx, dword [esp + 0x14]
test esi, esi
jns 0x41f54c
cmp esi, 0x80092004
jne 0x41f588
xor esi, esi
jmp 0x41f588
mov edx, ebx
mov ecx, edi
call fcn.0042b43b
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
js 0x41f588
test ebx, ebx
je 0x41f588
mov esi, ebx
mov ebx, edi
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041f5f8
add ebx, 4
sub esi, 1
jne 0x41f567
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x41f588
mov esi, 0x80070057
cmp dword [esp + 0x3c], 0
je 0x41f59b
push 0
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test esi, esi
jns 0x41f5c8
test edi, edi
je 0x41f5dc
xor eax, eax
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x41f5c8
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x41f5bf
push ecx
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ebx
jb 0x41f5ad
test edi, edi
je 0x41f5dc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042fb30
mov esp, ebp
pop ebp
ret
Function at 0x42261d
Capabilities:
Hash data via bcrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4395c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov byte [ebp - 0xc], 0
push edi
lea edi, [ebp - 0xb]
mov ebx, ecx
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea esi, [eax - 1]
add esi, edx
dec eax
not eax
and esi, eax
sub esi, edx
cmp esi, 8
jb 0x422673
mov edi, esi
shr edi, 3
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
sub esi, 8
sub edi, 1
jne 0x42265a
test esi, esi
je 0x422687
push 0
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042fb30
mov esp, ebp
pop ebp
ret 4

Function at 0x422738
Capabilities:
Hash data via bcrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4395c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
ja 0x42278a
sub esi, ebx
cmp edi, esi
jae 0x42276a
mov esi, edi
test esi, esi
je 0x422786
mov eax, dword [ecx]
push 0
push esi
add eax, ebx
push eax
push dword [edx + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, dword [ebp + 8]
sub edi, esi
add ebx, esi
test edi, edi
je 0x422804
cmp dword [ecx + 0x30], 0
jne 0x422797
mov eax, 0xc000000d
jmp 0x422806
test edi, edi
je 0x422804
lea eax, [ecx + 0x28]
mov dword [ebp - 8], eax
mov esi, dword [eax]
test esi, esi
je 0x4227de
cmp ebx, dword [ecx + 0x2c]
jb 0x4227de
mov edx, ebx
sub edx, dword [ecx + 0x2c]
cmp edx, esi
jae 0x4227de
sub esi, edx
cmp edi, esi
jae 0x4227bd
mov esi, edi
mov eax, dword [ecx + 0x24]
push 0
push esi
add eax, edx
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 4]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
sub edi, esi
je 0x422804
mov ecx, dword [ebp + 8]
add ebx, esi
mov eax, dword [ebp - 8]
mov esi, dword [ecx + 0x30]
push eax
lea eax, [ecx + 0x24]
push eax
lea eax, [ecx + 0x2c]
push eax
push ebx
push dword [ecx + 0x34]
mov ecx, esi
call dword [0x43e400]
call esi
test eax, eax
js 0x422806
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
jmp 0x4227a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042fb30
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424a63
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
mov ebx, esi
call fcn.00424983
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x424aa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424b79
movzx esi, si
or esi, 0x80070000
jmp 0x424b79
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x424ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424b6f
movzx esi, si
or esi, 0x80070000
jmp 0x424b6f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x424af1
mov esi, 0x80070057
jmp 0x424b59
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x424b37
cmp dword [ebp - 4], ebx
je 0x424b10
mov esi, 0x80004005
jmp 0x424b59
push esi
push esi
push esi
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x424b37
push dword [ebp - 8]
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x424b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424b59
movzx esi, si
or esi, 0x80070000
jmp 0x424b59
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
test edi, edi
je 0x424b64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x424b6f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424b86
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00424983
mov ebx, eax
test ebx, ebx
jne 0x424bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424c51
movzx esi, si
or esi, 0x80070000
jmp 0x424c51
push edi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x424bf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424c49
movzx esi, si
or esi, 0x80070000
jmp 0x424c49
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x424c04
mov esi, 0x80070057
jmp 0x424c3e
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x424c31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x424c3e
movzx esi, si
or esi, 0x80070000
jmp 0x424c3e
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
je 0x424c3e
mov esi, 0x80004005
test edi, edi
je 0x424c49
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424fb7
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x14
mov eax, 0x430818
call fcn.0042fe98
mov esi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
call fcn.004252ad
test esi, esi
je 0x425071
xor edi, edi
lea eax, [ebp - 0x10]
push edi
push edi
push eax
push edi
push 1
push esi
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x425005
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x425073
movzx eax, ax
or eax, 0x80070000
jmp 0x425073
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.004253d8
push edi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x20]
push eax
push edi
push 1
push esi
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x425059
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x425049
movzx esi, si
or esi, 0x80070000
test edi, edi
je 0x425055
push edi
call dword [sym.imp.MFC42.dll_operatordelete]
pop ecx
mov eax, esi
jmp 0x425073
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.004252db
test edi, edi
je 0x425071
push edi
call dword [sym.imp.MFC42.dll_operatordelete]
pop ecx
xor eax, eax
call fcn.0042fe57
ret 4
Function at 0x425152
Capabilities:
Hash data via bcrypt

Disassembly:
push 0x3c
mov eax, 0x432ff3
call fcn.0042ff0b
mov ebx, edx
xor esi, esi
mov edi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push esi
push 0x404c84
push 0x402364
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jne 0x42523a
push esi
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x404cc0
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jne 0x42523a
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
call fcn.00407f5b
push esi
push esi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push dword [ebp - 0x48]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jne 0x42523a
push esi
push dword [ebx]
push dword [ebx + 4]
push dword [ebp - 0x18]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jne 0x42523a
push esi
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x4048dc
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jne 0x42523a
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.00407f5b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
je 0x425248
mov edi, eax
mov byte [ebp - 4], 1
or edi, 0x10000000
jmp 0x42526f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00407fc0
jmp 0x425268
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x42527e
push dword [ebp - 0x18]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
cmp dword [ebp - 0x14], 0
je 0x42528e
push esi
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea ecx, [ebp - 0x38]
call fcn.004082fe
lea ecx, [ebp - 0x48]
call fcn.004082fe
mov eax, edi
call fcn.0042fe57
ret 4
Function at 0x42b2ec
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
test edi, edi
je 0x42b365
test edx, edx
je 0x42b365
mov eax, dword [ebp + 8]
test eax, eax
je 0x42b365
or dword [edi + 8], 0xffffffff
mov dword [edi], 0x50
mov dword [edi + 4], edx
mov dword [edi + 0xc], eax
mov dword [edi + 0x30], 0x10001
mov dword [edi + 0x44], esi
cmp dword [edi + 0x1c], esi
jne 0x42b36a
push 0xf0000000
push 0x18
push 0x404ba0
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov dword [edi + 0x1c], eax
cmp eax, esi
jne 0x42b36a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x42b36a
movzx esi, si
or esi, 0x80070000
jmp 0x42b36a
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42c0be
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x433beb
call fcn.0042fed0
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x42c1d9
cmp byte [ebx + 0x4a], 0
je 0x42c1d9
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x43e400]
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
jne 0x42c106
xor al, al
jmp 0x42c1db
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.0042c337
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x42c136
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x43e400]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x42c16c
sub eax, 1
je 0x42c170
dec eax
sub eax, 1
je 0x42c1c7
xor bl, bl
jmp 0x42c1c9
mov byte [ebx + 0x4a], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x42c180
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x42c1a9
cmp eax, 0x10
jae 0x42c18f
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x42c168
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x4a], 0
je 0x42c1c7
test esi, esi
jne 0x42c12a
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004098ab
jmp 0x42c124
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040befb
mov al, bl
jmp 0x42c1db
mov al, 1
call fcn.0042fe70
ret
Function at 0x42d852
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x433beb
call fcn.0042fed0
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x42d966
cmp byte [ebx + 0x49], 0
je 0x42d966
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x43e400]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
jne 0x42d893
xor al, al
jmp 0x42d968
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.0042c337
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, ecx
cmp eax, 0x10
jae 0x42d8c3
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [ebx + 0x44]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x4c]
mov ecx, dword [esi + 0x18]
push eax
call dword [0x43e400]
mov ecx, edi
call dword [esi + 0x18]
sub eax, 0
je 0x42d8f9
sub eax, 1
je 0x42d8fd
dec eax
sub eax, 1
je 0x42d954
xor bl, bl
jmp 0x42d956
mov byte [ebx + 0x49], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
cmp eax, 0x10
jae 0x42d90d
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x42d936
cmp eax, 0x10
jae 0x42d91c
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x42d8f5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x42d954
test esi, esi
jne 0x42d8b7
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004098ab
jmp 0x42d8b1
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040befb
mov al, bl
jmp 0x42d968
mov al, 1
call fcn.0042fe70
ret

Function at 0x43005f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x437ec8
call fcn.00430400
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4300bf
cmp eax, 0xffffffff
je 0x4300bf
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4300b8
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4300b8
cmp edx, 0x10000000
jae 0x4300b8
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4300b5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00430445
ret 4

Function at 0x430120
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x43015e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x430156
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x430160
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x430146
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x430240
Capabilities:
Parse pe header

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130