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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x454324
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
mov edi, 0x4671dc
xor eax, eax
push ebp
push 0x455072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467080
mov edx, 0x455088
call fcn.004045b8
call fcn.004508f0
mov eax, dword [ebp - 8]
call fcn.00404564
xor ebx, ebx
mov eax, 0x467080
mov edx, 0x45514c
call fcn.004045b8
mov eax, dword [ebp - 4]
call fcn.00404824
cmp eax, 0x7f
jge 0x4543b3
push 0
push 0x467150
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_OpenFile
mov dword [0x4670fc], eax
cmp dword [0x4670fc], 0xffffffff
jne 0x4543e6
mov ebx, 1
jmp 0x4543e6
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [0x4670fc], eax
cmp dword [0x4670fc], 0xffffffff
jne 0x4543e6
mov ebx, 2
mov eax, 0x467080
mov edx, 0x45521c
call fcn.004045b8
test ebx, ebx
jbe 0x454468
mov eax, 0x467080
mov edx, 0x4552bc
call fcn.004045b8
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
cmp eax, 0xcf
ja 0x45441f
bt dword [0x455340], eax
jb 0x454458
cmp ebx, 0x4cf
je 0x454458
push 0x455364
push dword [ebp - 4]
push 0x455374
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00408880
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0xc]
call fcn.004627dc
mov eax, dword [0x4670fc]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x45504f
mov eax, 0x467080
mov edx, 0x455380
call fcn.004045b8
mov eax, 0x46712c
call fcn.00404564
mov eax, 0x467130
call fcn.00404564
mov eax, 0x467134
call fcn.00404564
xor eax, eax
mov dword [0x467120], eax
xor eax, eax
mov dword [0x467124], eax
mov eax, 0x467080
mov edx, 0x455398
call fcn.004045b8
xor eax, eax
mov dword [0x467128], eax
xor eax, eax
mov dword [0x46711c], eax
mov eax, 0x467138
mov edx, 0x12
call fcn.00404bb0
mov eax, 0x46713c
mov edx, 0x20
call fcn.00404bb0
mov eax, 0x467140
mov edx, 0x1a
call fcn.00404bb0
mov eax, 0x467144
mov edx, 0x2f
call fcn.00404bb0
mov eax, 0x467148
mov edx, 0x12
call fcn.00404bb0
mov eax, 0x46714c
mov edx, 0x20
call fcn.00404bb0
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x454f62
Function at 0x456c8c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x456c94
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x456ef8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467080
mov edx, 0x456f10
call fcn.004045b8
lea eax, [ebp - 4]
inc ebp
cld
push eax
push ebx
push 0x13
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x456edd
mov dword [ebp - 0xc], 0x7e0
mov eax, dword [ebp - 0xc]
call fcn.00402714
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0040308c
mov dword [ebp - 8], 0x3f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x456d1a
cmp eax, 0xea
jne 0x456ea8
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x456cf2
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edi, ebx
shl edi, 2
test byte [esi + edi*8 + 0xc], 2
je 0x456d3c
lea eax, [esi + edi*8]
call fcn.00456c8c
cmp dword [esi + edi*8 + 8], 3
jne 0x456e99
lea eax, [ebp - 0x14]
mov edx, dword [esi + edi*8 + 0x14]
call fcn.0040475c
mov edx, dword [ebp - 0x14]
mov eax, 0x467068
mov ecx, 0x456f40
call fcn.00404870
inc dword [0x4670b0]
mov eax, 0x467080
mov edx, 0x456f4c
call fcn.004045b8
mov eax, dword [0x4670b0]
cmp eax, dword [0x4670b4]
jl 0x456e99
mov eax, dword [0x4670b0]
push eax
mov ecx, 0x456fd8
mov edx, 0x456fe8
mov eax, 0x80000002
call fcn.00408fcc
mov eax, dword [0x467068]
push eax
mov edx, 0x456fe8
mov ecx, 0x457030
mov eax, 0x80000002
call fcn.00408edc
xor eax, eax
mov dword [0x4670ac], eax
mov word [0x464e8c], 0
mov eax, 0x467080
mov edx, 0x457040
call fcn.004045b8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x467044]
call fcn.00404824
mov ecx, eax
mov edx, 3
mov eax, dword [0x467068]
call fcn.00404a84
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004079dc
mov eax, dword [ebp - 0x18]
mov edx, dword [0x467044]
call fcn.00404970
jne 0x456e35
lea eax, [ebp - 0x20]
mov ecx, dword [0x467068]
mov edx, 0x457088
call fcn.00404870
mov eax, dword [ebp - 0x20]
call fcn.004627dc
jmp 0x456e5a
mov eax, dword [0x467068]
call fcn.00456114
lea eax, [ebp - 0x24]
mov ecx, dword [0x467068]
mov edx, 0x45709c
call fcn.00404870
mov eax, dword [ebp - 0x24]
call fcn.004627dc
mov eax, 0x467080
mov edx, 0x4570ac
call fcn.004045b8
xor eax, eax
mov dword [0x4670a8], eax
mov eax, dword [0x4670a8]
push eax
mov edx, 0x456fe8
mov ecx, 0x4570dc
mov eax, 0x80000002
call fcn.00408fcc
mov eax, 0x467080
mov edx, 0x4570ec
call fcn.004045b8
inc ebx
dec dword [ebp - 0x10]
jne 0x456d28
jmp 0x456cf2
mov eax, esi
call fcn.00402734
mov eax, 0x467080
mov edx, 0x45716c
call fcn.004045b8
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
je 0x456edd
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00408880
mov eax, dword [ebp - 0x28]
call fcn.004627dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456eff
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00404588
ret
Function at 0x457ae8
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x43
push 0
push 0
dec ecx
jne 0x457af0
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov ebx, 0x4670c0
mov esi, 0x467050
mov edi, 0x467080
xor eax, eax
push ebp
push 0x45809d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045a688
cmp byte [0x464e88], 0
jne 0x457b49
lea eax, [ebp - 0x1b4]
mov ecx, dword [0x4670f8]
or eax, 0x4670f8

Function at 0x45887c
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x467080
mov edx, 0x4588f0
call fcn.004045b8
push 0
push 0
push 0x45897c
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x467080
mov edx, 0x458990
call fcn.004045b8
push 0
push 0
push 0x4589f8
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
push 0x458a18
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x467080
mov edx, 0x458a30
call fcn.004045b8
ret

Function at 0x459c90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459d44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x104]
push eax

Function at 0x459e74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
Function at 0x45e10c
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
mov eax, dword [ebp - 8]
call fcn.00404a14
xor eax, eax
push ebp
push 0x45e424
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467080
mov edx, 0x45e43c
call fcn.004045b8
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404824
test eax, eax
je 0x45e3eb
mov eax, dword [ebp - 8]
call fcn.00404824
test eax, eax
je 0x45e3eb
push 0
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_OpenFile
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e1ed
push 0x45e48c
push dword [ebp - 4]
push 0x45e49c
lea edx, [ebp - 0xa4]
xor eax, eax
call fcn.00408880
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0xa0]
call fcn.004627dc
jmp 0x45e3eb
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
add eax, 5
mov dword [ebp - 0xc], eax
mov eax, 0x467080
mov edx, 0x45e4a8
call fcn.004045b8
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x45e0ec]
call fcn.00405564
add esp, 4
mov edx, 0x464ed4
mov eax, dword [ebp - 0x14]
mov ecx, 5
call fcn.00406f4c
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, 5
push eax
mov eax, dword [ebp - 0x14]
add eax, 5
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x45e294
push 0x45e548
push dword [ebp - 4]
push 0x45e49c
lea edx, [ebp - 0xac]
xor eax, eax
call fcn.00408880
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0xa8]
call fcn.004627dc
jmp 0x45e3eb
mov eax, 0x467080
mov edx, 0x45e55c
call fcn.004045b8
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0xa
jbe 0x45e338
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 5]
cmp al, byte [0x464ed4]
jne 0x45e338
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 6]
cmp al, byte [0x464ed5]
jne 0x45e338
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 7]
cmp al, byte [0x464ed6]
jne 0x45e338
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 8]
cmp al, byte [0x464ed7]
jne 0x45e338
mov eax, dword [ebp - 0x14]
Function at 0x45e760
Capabilities:
Find taskbar
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, 0x467080
xor eax, eax
push ebp
push 0x45e9a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a48
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00407a18
mov edx, dword [ebp - 4]
mov eax, 0x467054
call fcn.004045b8
mov eax, edi
mov edx, 0x45e9bc
call fcn.004045b8
cmp byte [0x4670c9], 0
jne 0x45e7ce
mov eax, dword [0x467054]
push eax
mov ecx, 0x45ea08
mov edx, 0x45ea18
mov eax, 0x80000002
call fcn.00408edc
mov eax, edi
mov edx, 0x45ea60
call fcn.004045b8
cmp byte [0x4670c9], 0
je 0x45e7ed
call fcn.0045f130
jmp 0x45e989
mov eax, edi
mov edx, 0x45eab0
call fcn.004045b8
xor ebx, ebx
push 0
push 0x45eb78
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x45e819
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x45e7fb
mov eax, edi
mov edx, 0x45eb90
call fcn.004045b8
push 0xea60
call sub.kernel32.dll_Sleep
push 0
push 0x45ec64
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
mov eax, edi
mov edx, 0x45ec74
call fcn.004045b8
push 0x45ecdc
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov eax, edi
mov edx, 0x45ecf0
call fcn.004045b8
test esi, esi
jne 0x45e874
push 0x45ed04
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x45e937
mov eax, edi
mov edx, 0x45ed18
call fcn.004045b8
push 0x45edc4
push esi
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov eax, edi
mov edx, 0x45eddc
call fcn.004045b8
test esi, esi
je 0x45e937
mov eax, edi
mov edx, 0x45ee8c
call fcn.004045b8
call esi
push 0xbb8
call sub.kernel32.dll_Sleep
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
mov eax, edi
mov edx, 0x45ef04
call fcn.004045b8
push 0x1f4
call sub.kernel32.dll_Sleep
push 0
push 0xd
push 0x101
push ebx
call sub.user32.dll_SendMessageA
mov eax, edi
mov edx, 0x45ef50
call fcn.004045b8
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x45ef6c
call fcn.00409480
mov eax, edi
mov edx, 0x45ec74
call fcn.004045b8
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, edi
mov edx, 0x45ef7c
call fcn.004045b8
mov eax, edi
mov edx, 0x45efac
call fcn.004045b8
mov edx, 0x45efd8
mov eax, 0x4670dc
mov ecx, 0xbb8
call fcn.00408c50
test al, al
je 0x45e989
mov eax, edi
mov edx, 0x45f008
call fcn.004045b8
call fcn.0045f130
mov eax, edi
mov edx, 0x45f098
call fcn.004045b8
call fcn.0046230c
mov eax, edi
mov edx, 0x45f0d0
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9ab
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404588
ret
Function at 0x4627dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4628d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x467080
mov edx, 0x4628ec
call fcn.004045b8
cmp dword [0x4670d0], 0
jne 0x46281d
call fcn.004625e0
push 2
push 0
push 0
mov eax, dword [0x4670d0]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x462838
call fcn.004625e0
mov eax, 0x467080
mov edx, 0x4629c0
call fcn.004045b8
lea edx, [ebp - 0xc]
mov al, byte [0x4670ca]
call fcn.00407a54
push dword [ebp - 0xc]
push 0x4629ec
push dword [ebp - 4]
push 0x4629f8
lea eax, [ebp - 4]
mov edx, 4
call fcn.004048e4
mov eax, 0x467080
mov edx, 0x462a04
call fcn.004045b8
mov byte [0x4670ca], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404824
push eax
lea eax, [ebp - 4]
call fcn.00404a7c
push eax
mov eax, dword [0x4670d0]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4628b5
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4628da
lea eax, [ebp - 0xc]
call fcn.00404564
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x5f4c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x559015
lea edi, [esi - 0x158015]
push edi
or ebp, 0xffffffff
jmp 0x5f4c42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f4c49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f4c38
mov eax, 1
add ebx, ebx
jne 0x5f4c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f4c50
jne 0x5f4c6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f4c50
xor ecx, ecx
sub eax, 3
jb 0x5f4c80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f4cf2
mov ebp, eax
add ebx, ebx
jne 0x5f4c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5f4c98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5f4cbc
inc ecx
add ebx, ebx
jne 0x5f4ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f4c9d
jne 0x5f4cb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f4c9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f4cdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f4ccd
jmp 0x5f4c3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f4cdc
add edi, ecx
jmp 0x5f4c3e
pop esi
mov edi, esi
mov ecx, 0x43f8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f4cfa
cmp byte [edi], 0xd
jne 0x5f4cfa
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 0x5f4cff
lea edi, [esi + 0x1ef000]
mov eax, dword [edi]
or eax, eax
je 0x5f4d6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25e028]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25e0b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f4d2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25e0b8]
or eax, eax
je 0x5f4d68
mov dword [ebx], eax
add ebx, 4
jmp 0x5f4d49
call dword [esi + 0x25e0c8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f4d9f
cmp al, 0xef
ja 0x5f4d92
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f4d74
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f4d81
mov ebp, dword [esi + 0x25e0bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1f4dfa]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f4deb
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x40d470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx], 7
jbe 0x40d4a3
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edx, dword [str.aapt]
add eax, 0x40
push ecx
push edx
push str._s:_requested_command_not_yet_supported_n
push eax
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov eax, 1
leave
ret
mov eax, dword [edx]
jmp dword [eax*4 + 0x4ae8cc]
mov dword [ebp + 8], edx
leave
jmp fcn.004083a0
mov dword [ebp + 8], edx
leave
jmp fcn.00407ff0
mov dword [ebp + 8], edx
leave
jmp fcn.0040bfa0
mov dword [ebp + 8], edx
leave
jmp fcn.00408c50
mov dword [ebp + 8], edx
leave
jmp fcn.0040c760
mov dword [ebp + 8], edx
leave
jmp fcn.0040c540
mov dword [ebp + 8], edx
leave
jmp fcn.00408400
Function at 0x415500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push eax
mov ebx, dword [ebp + 8]
push eax
mov esi, dword [ebp + 0xc]
lea eax, [ebx + 0x40]
push esi
push eax
call fcn.00492450
lea eax, [ebx + 0xbc]
push eax
lea eax, [ebx + 0x74]
push eax
push esi
push ebx
call fcn.00415440
add esp, 0x20
mov ebx, eax
test eax, eax
je 0x41554c
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x23
push 1
push str.ERROR:_Key_string_data_is_corrupt__n
call sub.msvcrt.dll_fwrite
add esp, 0x10
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x415560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push eax
mov ebx, dword [ebp + 8]
push eax
mov esi, dword [ebp + 0xc]
lea eax, [ebx + 0x3c]
push esi
push eax
call fcn.00492450
lea eax, [ebx + 0xa4]
push eax
lea eax, [ebx + 0x44]
push eax
push esi
push ebx
call fcn.00415440
add esp, 0x20
mov ebx, eax
test eax, eax
je 0x4155ac
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x24
push 1
push str.ERROR:_Type_string_data_is_corrupt__n
call sub.msvcrt.dll_fwrite
add esp, 0x10
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x416e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push ebx
push 0x88
push 1
push str._____This_file_contains__public__resource_definitions_for_all_n_____resources_that_were_generated_from_the_source_data._____n_n_resources__n
call sub.msvcrt.dll_fwrite
push 1
push ebx
push esi
push edi
call fcn.00416b00
add esp, 0x20
push 0
push ebx
push esi
push edi
call fcn.00416b00
push ebx
push 0xe
push 1
push str._n__resources__n
call sub.msvcrt.dll_fwrite
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4187a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
lea ebx, [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
call fcn.00433920
pop eax
lea eax, [edi + 0xc]
pop edx
push ebx
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x30], eax
call fcn.004440e0
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [esp], eax
call fcn.004928b0
mov dword [esp], ebx
call fcn.00433ac0
add esp, 0x10
lea eax, [edi + 0x20]
test esi, esi
js 0x4187fd
lea eax, [esi*8]
mov esi, dword [edi + 0x10]
add eax, esi
add eax, 4
push ebx
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00492880
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
jne 0x4188dd
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x28], 0
jne 0x418860
cmp byte [edi + 0x3d], 0
je 0x418925
cmp byte [edi + 0x3c], 0
je 0x418908
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x69
push 1
push str.Adding_multiple_application_package_resources__only_one_is_allowed._nUse__x_to_create_extended_resources._n
call sub.msvcrt.dll_fwrite
pop eax
mov eax, dword [ebp + 8]
pop edx
push 0
push eax
call fcn.00492850
add esp, 0x10
jmp 0x4188ef
sub esp, 0xc
push 0xd4
call fcn.004a3a30
add esp, 0xc
mov ebx, eax
push 0
mov eax, dword [ebp + 0x10]
push eax
push ebx
call fcn.00415c50
pop ecx
lea eax, [ebp - 0x10]
pop esi
push ebx
lea ebx, [ebp - 0x20]
push eax
call fcn.004928d0
pop eax
mov eax, dword [ebp + 0x10]
pop edx
push eax
push ebx
call fcn.00433920
pop ecx
lea eax, [ebp - 0x10]
pop esi
lea esi, [ebp - 0x1c]
push eax
push esi
call fcn.00492880
mov ecx, dword [ebp - 0x30]
pop eax
pop edx
push ebx
push ecx
call fcn.00444ce0
mov dword [esp], esi
call fcn.004928b0
mov dword [esp], ebx
call fcn.00433ac0
pop eax
lea eax, [ebp - 0x10]
pop edx
push eax
lea eax, [edi + 0x24]
push eax
call fcn.00444a20
mov eax, dword [edi + 0x38]
add esp, 0x10
inc eax
mov dword [edi + 0x38], eax
lea eax, [ebp - 0x10]
mov esi, dword [ebp + 8]
push edi
push edi
push eax
push esi
call fcn.00492880
add esp, 0x10
sub esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004928b0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
sub esp, 0xc
mov byte [edi + 0x3c], 1
push 0xd4
call fcn.004a3a30
add esp, 0xc
mov ebx, eax
push 0x7f
jmp 0x418874
sub esp, 0xc
push 0xd4
call fcn.004a3a30
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 0x38]
push eax
jmp 0x418874
Function at 0x4303c0
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov byte [ebp - 0x26], 0x50
mov ebx, dword [ebp + 8]
mov byte [ebp - 0x25], 0x4b
mov byte [ebp - 0x24], 3
mov byte [ebp - 0x23], 4
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x22], al
sar ax, 8
mov byte [ebp - 0x21], al
mov ax, word [ebx + 6]
mov byte [ebp - 0x20], al
sar ax, 8
mov byte [ebp - 0x1f], al
mov eax, dword [ebx + 8]
mov byte [ebp - 0x1e], al
sar ax, 8
mov byte [ebp - 0x1d], al
mov ax, word [ebx + 0xa]
mov byte [ebp - 0x1c], al
sar ax, 8
mov byte [ebp - 0x1b], al
mov eax, dword [ebx + 0xc]
mov byte [ebp - 0x1a], al
sar ax, 8
mov byte [ebp - 0x19], al
mov eax, dword [ebx + 0x10]
mov byte [ebp - 0x18], al
sar eax, 8
mov byte [ebp - 0x17], al
sar eax, 8
mov byte [ebp - 0x16], al
sar eax, 8
mov byte [ebp - 0x15], al
mov eax, dword [ebx + 0x14]
mov byte [ebp - 0x14], al
sar eax, 8
mov byte [ebp - 0x13], al
sar eax, 8
mov byte [ebp - 0x12], al
sar eax, 8
mov byte [ebp - 0x11], al
mov eax, dword [ebx + 0x18]
mov byte [ebp - 0x10], al
sar eax, 8
mov byte [ebp - 0xf], al
sar eax, 8
mov byte [ebp - 0xe], al
sar eax, 8
mov byte [ebp - 0xd], al
mov eax, dword [ebx + 0x1c]
mov byte [ebp - 0xc], al
sar ax, 8
mov byte [ebp - 0xb], al
mov ax, word [ebx + 0x1e]
mov byte [ebp - 0xa], al
sar ax, 8
mov byte [ebp - 9], al
lea eax, [ebp - 0x26]
push esi
push 0x1e
push 1
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov ecx, 0x80000000
cmp eax, 0x1e
je 0x4304a8
lea esp, [ebp - 8]
mov eax, ecx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 0x1c]
test ax, ax
jne 0x4304f0
mov ax, word [ebx + 0x1e]
test ax, ax
jne 0x4304c4
xor ecx, ecx
lea esp, [ebp - 8]
mov eax, ecx
pop ebx
pop esi
pop ebp
ret
and eax, 0xffff
push esi
push eax
push 1
mov ecx, dword [ebx + 0x24]
push ecx
call sub.msvcrt.dll_fwrite
mov dx, word [ebx + 0x1e]
add esp, 0x10
and edx, 0xffff
mov ecx, 0x80000000
cmp eax, edx
jne 0x43049f
xor ecx, ecx
jmp 0x4304bb
and eax, 0xffff
push esi
push eax
push 1
mov eax, dword [ebx + 0x20]
push eax
call sub.msvcrt.dll_fwrite
mov edx, dword [ebx + 0x1c]
add esp, 0x10
and edx, 0xffff
mov ecx, 0x80000000
cmp eax, edx
jne 0x43049f
jmp 0x4304b0