joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53a820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x408], eax
call fcn.004719f0
mov esi, eax
call fcn.00479330
push ecx
mov ebx, esp
mov dword [ebp - 0x40c], eax
mov edi, 1
mov esi, 0x580dcc
mov eax, ebx
mov dword [ebx], 0
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a878
mov dword [ebx + 0x10], 0x600
mov ebx, dword [ebp - 0x40c]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x408]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
cmp dword [eax + 0xc], 0
jg 0x53a8a8
mov ecx, dword [0x5f3a48]
call fcn.004f2580
xor esi, esi
jmp 0x53a8d4
ja 0x53a8ad
mov dword [eax + 0xc], edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x53a8c2
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x53a8c2
add edx, edi
mov dword [ecx + 0xc], edx
cmp dword [eax + 0xc], 0
ja 0x53a8cb
mov dword [eax + 0xc], edi
mov edx, dword [eax + 8]
mov esi, dword [edx]
test esi, esi
jne 0x53a92e
push 0
push str.parent
push 0x57
push str.........CommonWin32win32cmm.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x53a92e
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push ebx
call eax
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x53a951
add eax, 0xffffffff
mov dword [ebx + 0xc], eax
jne 0x53a951
push ebx
call fcn.004ff480
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x53a969
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x53a969
push esi
call fcn.004ff480
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x53aeb0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1ec], 0
mov dword [edi], 0x59d930
je 0x53aee9
mov esi, dword [edi + 0x1f0]
push ebx
mov ebx, dword [edi + 0x68]
call fcn.0041a360
test al, al
push esi
push 0xfffffffffffffffc
push ebx
je 0x53aee2
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x53aee8
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop ebx
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x53aef8
call fcn.00546810
mov eax, dword [edi + 0x68]
push str.RBInstance
push eax
call dword [sym.imp.USER32.dll_RemovePropA]
mov esi, dword [edi + 0x1dc]
test esi, esi
je 0x53af16
call fcn.004ab850
mov ecx, edi
pop edi
pop esi
jmp fcn.0051d940
Function at 0x5460b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x210], ebx
call fcn.0041a360
test al, al
je 0x54610d
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ebp - 0x210]
mov word [ebp + eax*2 - 0x20c], bx
call fcn.004ab9d0
mov esi, dword [ebp - 0x210]
jmp 0x546192
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
mov dword [ebp - 0x214], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x546135
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x108]
lea eax, [ebp - 0x214]
call fcn.004ab970
mov esi, dword [ebp - 0x214]
cmp esi, ebx
je 0x546164
mov dword [esi + 0x10], 0x600
lea ebx, [ebp - 0x214]
lea edi, [ebp - 0x210]
call fcn.004abdf0
test esi, esi
je 0x54617e
call fcn.004ab850
call fcn.005293c0
mov esi, dword [ebp - 0x210]
xor ebx, ebx
test esi, esi
je 0x546192
mov dword [esi + 0x10], eax
cmp esi, ebx
push ecx
mov eax, esp
je 0x5461ba
cmp dword [esi + 0x10], 0x8000100
je 0x5461ba
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], esi
add dword [esi], 1
push eax
call fcn.00529150
add esp, 0xc
jmp 0x5461c3
cmp esi, ebx
mov dword [eax], esi
je 0x5461c3
add dword [esi], 1
call fcn.00447890
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x5461d6
call fcn.004ab850
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5461f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x420], ebx
call fcn.0041a360
test al, al
je 0x54627f
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [ebp - 0x418]
push ecx
push ebx
push 0x580b08
lea edx, [ebp - 0x210]
push edx
mov word [ebp + eax*2 - 0x212], bx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
lea eax, [ebp - 0x418]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x546254
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x420]
call fcn.004ab9d0
mov edi, dword [ebp - 0x420]
jmp 0x54631c
lea eax, [ebp - 0x318]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea ecx, [ebp - 0x110]
push ecx
push ebx
push 0x580b6c
lea edx, [ebp - 0x318]
push edx
mov byte [ebp + eax - 0x319], bl
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x41c], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5462c1
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x110]
lea eax, [ebp - 0x41c]
call fcn.004ab970
mov esi, dword [ebp - 0x41c]
cmp esi, ebx
je 0x5462f0
mov dword [esi + 0x10], 0x600
lea ebx, [ebp - 0x41c]
lea edi, [ebp - 0x420]
call fcn.004abdf0
test esi, esi
je 0x54630a
call fcn.004ab850
call fcn.005293c0
mov edi, dword [ebp - 0x420]
test edi, edi
je 0x54631c
mov dword [edi + 0x10], eax
test edi, edi
push ecx
mov eax, esp
je 0x546344
cmp dword [edi + 0x10], 0x8000100
je 0x546344
push 0x8000100
push ecx
mov ecx, esp
mov dword [ecx], edi
add dword [edi], 1
push eax
call fcn.00529150
add esp, 0xc
jmp 0x54634d
test edi, edi
mov dword [eax], edi
je 0x54634d
add dword [edi], 1
call fcn.00447890
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x41c], ebx
je 0x5463d1
cmp dword [ebx + 0x18], 0
jne 0x546383
xor esi, esi
push 0x181
push str.........CommonWin32win32Folderitem.cpp
mov edx, 0x59e5bc
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov eax, dword [0x5f4d28]
test eax, eax
jne 0x5463b0
push 0x18
call fcn.005662c8
add esp, 4
test eax, eax
je 0x5463a9
mov ebx, eax
call fcn.004b1470
mov ebx, dword [ebp - 0x41c]
jmp 0x5463ab
xor eax, eax
mov dword [0x5f4d28], eax
mov ecx, dword [ebx + 0x18]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [esi + 8]
call fcn.0044b420
test edi, edi
je 0x5463dc
mov esi, edi
call fcn.004ab850
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x54a6b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x54a723
push ecx
push 0x589960
push 0x494
push 0x59e880
lea eax, [ecx + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x54a723
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov esi, dword [edi + 0x20]
test esi, esi
jne 0x54a73c
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0x28]
test edi, edi
je 0x54a74a
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x54a74c
xor edi, edi
test esi, esi
mov dword [ebx], 1
je 0x54a787
cmp dword [esi + 0x70], 0
je 0x54a787
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x54a787
mov eax, dword [esi + 0x70]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
neg edx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebx + 0x10], eax
test edi, edi
je 0x54a7d6
cmp dword [edi + 0x70], 0
je 0x54a828
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x54a828
mov eax, dword [edi + 0x70]
movzx edx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap]
pop edi
mov dword [ebx + 0xc], eax
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
imul eax, dword [esi + 0x88]
push eax
call fcn.005662c8
mov ecx, dword [esi + 0x4c]
imul ecx, dword [esi + 0x88]
push ecx
mov edi, eax
push 0
push edi
call fcn.0056b660
mov esi, dword [esi + 0x70]
movzx edx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
mov ecx, dword [esi + 8]
add esp, 0x10
push edi
push edx
mov edx, dword [esi + 4]
push eax
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push edi
mov dword [ebx + 0xc], eax
call fcn.0056612f
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5520d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
push edi
mov ebx, eax
jne 0x55210b
xor edi, edi
mov esi, 0x57e81c
mov dword [ebx], edi
call fcn.004ab970
mov eax, dword [ebx]
test eax, eax
je 0x55220f
pop edi
mov dword [eax + 0x10], 0x600
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00552030
test al, al
jne 0x552118
mov eax, ebx
jmp 0x5520e3
cmp byte [esi + 0x35], 0
jne 0x552179
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x44]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x400
push 0x5fab20
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x55216c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 6
je 0x5521ab
cmp eax, 0x57
je 0x5521ab
cmp eax, 0x3e5
jne 0x5521ab
mov eax, 0x57e81c
mov byte [esi + 0x35], 1
call fcn.00401ed0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
mov byte [esi + 0x35], 0
mov ecx, dword [eax + 0x10]
push ecx
jmp 0x5521e1
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 0x10]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x5521be
cmp eax, 0x102
je 0x5521ab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
call fcn.005517d0
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.004df460
mov eax, 0x57e81c
call fcn.00401ed0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
test eax, eax
je 0x552196
mov ecx, dword [esi + 0x4c]
mov byte [esi + 0x35], 0
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
mov edi, dword [ebp - 4]
mov esi, 0x5fab20
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.004ab970
mov esi, dword [ebp - 8]
test esi, esi
mov dword [ebx], esi
je 0x55220f
add dword [esi], 1
call fcn.004ab850
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x552f40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x552fb6
push ebx
push 0x584224
push 0x329
push str.........CommonWin32win32serial.cpp
lea eax, [ebx + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x552fb6
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp byte [esi + 0x29], bl
je 0x5530e7
mov eax, dword [esi + 0x44]
lea edx, [ebp - 0x408]
push edx
push eax
mov dword [ebp - 0x408], ebx
call dword [sym.imp.KERNEL32.DLL_GetCommModemStatus]
test al, al
je 0x5530a3
mov eax, dword [ebp + 0xc]
add eax, 0xffffffff
cmp eax, 0x1f
ja case.0x552ff4.2
movzx ecx, byte [eax + 0x553118]
jmp dword [ecx*4 + 0x5530fc]
mov bl, byte [esi + 0x24]
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov bl, byte [esi + 0x25]
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x408]
shr ebx, 4
and bl, 1
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x408]
shr ebx, 7
and bl, 1
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x408]
shr ebx, 6
and bl, 1
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x408]
shr ebx, 5
and bl, 1
pop esi
movzx eax, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 6
je 0x5530ba
cmp eax, 0x57
jne 0x5530bf
mov eax, 0x66
jmp 0x5530bf
mov eax, 0x64
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x5530e7
mov edx, dword [esi + 4]
cmp dword [edx + 0x28], ebx
jle 0x5530e7
mov ecx, dword [0x5b47d8]
mov edx, dword [ecx + 0x20]
mov eax, dword [eax + edx*8]
cmp eax, ebx
je 0x5530e7
push esi
call eax
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x55b9d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
push edi
mov edi, ecx
jne 0x55ba42
push esi
push 0x580878
push 0x1087
push str.........CommonClassLibwindow.cpp
lea eax, [esi + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x55ba42
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp byte [edi + 0xa9], 0
mov word [ebp - 0x40c], 0
mov dword [ebp - 0x40a], 0
je 0x55ba9b
movzx ax, byte [edi + 0xad]
movzx ecx, byte [edi + 0xac]
imul ax, ax, 0x101
mov dx, word [edi + 0xae]
imul dx, dx, 0x101
imul ecx, ecx, 0x101
mov word [ebp - 0x40c], dx
mov word [ebp - 0x40a], ax
mov word [ebp - 0x408], cx
jmp 0x55bad6
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
movzx dx, al
imul dx, dx, 0x101
movzx cx, ah
shr eax, 0x10
imul cx, cx, 0x101
mov word [ebp - 0x40c], dx
movzx dx, al
imul dx, dx, 0x101
mov word [ebp - 0x40a], cx
mov word [ebp - 0x408], dx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [ebp - 0x40c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
add edi, 0xc
push edi
mov ecx, esi
call edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x55c550
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esi + 0x87]
test al, al
jne 0x55c566
cmp byte [esi + 0x88], al
je 0x55c596
test al, al
je 0x55c57a
mov eax, dword [esi + 0x68]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x87], 0
ret
cmp byte [esi + 0x88], 0
je 0x55c596
mov ecx, dword [esi + 0x68]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x88], 0
ret

Function at 0x55c910
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 4], 0
push 0x55c8a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov byte [ebp - 4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 4], 0
je 0x55c942
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5f4884]
test eax, eax
je 0x55c961
lea ecx, [ebp - 0xc]
push ecx
push 0x55c8a0
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [ebp - 4], 0
jne 0x55c93c
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x560310
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push esi
lea esi, [ecx + eax + 0x18]
mov dword [ebp - 4], 0
jbe 0x5603b0
add esi, 0x10
push edi
mov eax, dword [esi]
test eax, eax
jne 0x56036a
mov edx, dword [ebp + 0xc]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x560396
mov eax, dword [esi - 4]
push 4
push 0x1000
push edi
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.0056b660
jmp 0x560393
mov ecx, dword [esi - 4]
push 4
push 0x1000
push eax
add ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 8]
push edx
push eax
push edi
call fcn.0056b2f0
mov dword [esi - 8], edi
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
movzx ecx, word [edx + 6]
add eax, 1
add esi, 0x28
cmp eax, ecx
mov dword [ebp - 4], eax
jl 0x560338
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5606d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x5606e4
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x5606f9
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push edi
push 4
push 0x2000
push eax
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x560730
mov edx, dword [ebx + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
je 0x5607e7
push 0x14
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x50]
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.0056b2f0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
mov edx, dword [ebp - 4]
push esi
add eax, edx
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.00560310
add esp, 0x18
mov ecx, esi
call fcn.00560520
test eax, eax
je 0x5607e2
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x5607c1
push eax
mov eax, esi
call fcn.00560490
add esp, 4
push esi
call fcn.005603c0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
test eax, eax
je 0x5607f7
add eax, edi
je 0x5607e2
push 0
push 1
push edi
call eax
test eax, eax
jne 0x5607f0
call fcn.005608c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x561000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x561073
push str.Could_not_get_the_default_printer_settings_because_a_nil_structure_was_passed_in
push str.dlgStruct
push 0x94
push str.........CommonWin32WinPrinter.cpp
lea eax, [esi + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x561073
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push ebx
push 0x42
push 0
push esi
call fcn.0056b660
add esp, 0xc
mov dword [esi], 0x42
call fcn.005599f0
push esi
mov dword [esi + 4], eax
mov dword [esi + 0x14], 0x400
call dword [sym.imp.comdlg32.dll_PrintDlgA]
test eax, eax
setne bl
test bl, bl
je 0x5610db
cmp dword [edi + 0xb4], 0
je 0x5610db
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
or dword [eax + 0x28], 1
mov ecx, dword [edi + 0xb4]
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 2
mov word [eax + 0x2c], cx
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret