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

Disassembly:
mov eax, dword [ecx + 0x10c0]
mov edx, dword [ecx + 0x10c8]
push ebx
push ebp
push esi
mov byte [eax + edx], 0xff
mov edx, dword [ecx + 0x10c0]
push edi
mov edi, dword [ecx + 0x10c8]
inc edi
mov eax, edi
mov dword [ecx + 0x10c8], edi
mov byte [edx + eax], 0xd8
mov esi, dword [ecx + 0x10c8]
mov edx, dword [ecx + 0x10c0]
inc esi
mov eax, esi
mov dword [ecx + 0x10c8], esi
mov byte [edx + eax], 0xff
mov edx, dword [ecx + 0x10c8]
inc edx
mov dword [ecx + 0x10c8], edx
mov eax, edx
mov edx, dword [ecx + 0x10c0]
mov byte [edx + eax], 0xc3
mov eax, dword [ecx + 0x10c8]
inc eax
mov edi, dword [ecx + 0x10c0]
mov dword [ecx + 0x10c8], eax
mov esi, eax
movsx eax, word [ecx + 0x28]
lea eax, [eax + eax*2 + 8]
mov edx, eax
sar edx, 8
mov byte [edi + esi], dl
mov ebx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc ebx
mov edx, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [esi + edx], al
mov edi, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x1c]
mov edx, 0xffff
inc edi
cmp esi, edx
mov dword [ecx + 0x10c8], edi
mov eax, edi
jg 0x5bde91
cmp dword [ecx + 0x18], edx
jg 0x5bde91
mov esi, dword [ecx + 0x10c0]
mov edx, dword [ecx + 0x20]
xor ebp, ebp
mov byte [esi + eax], dl
mov ebx, dword [ecx + 0x10c8]
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x10c0]
inc ebx
mov edx, eax
mov esi, ebx
mov dword [ecx + 0x10c8], ebx
sar edx, 8
mov byte [edi + esi], dl
mov edx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc edx
mov dword [ecx + 0x10c8], edx
mov byte [esi + edx], al
mov eax, dword [ecx + 0x10c8]
mov edi, dword [ecx + 0x10c0]
inc eax
mov dword [ecx + 0x10c8], eax
mov esi, eax
mov eax, dword [ecx + 0x18]
mov edx, eax
sar edx, 8
mov byte [edi + esi], dl
mov ebx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc ebx
mov edx, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [esi + edx], al
mov edi, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
mov dl, byte [ecx + 0x28]
inc edi
mov eax, edi
mov dword [ecx + 0x10c8], edi
mov byte [esi + eax], dl
mov esi, dword [ecx + 0x10c8]
inc esi
cmp word [ecx + 0x28], bp
mov dword [ecx + 0x10c8], esi
mov eax, esi
jle 0x5bde8c
xor esi, esi
mov edx, dword [ecx + 0x24]
mov edi, dword [ecx + 0x10c0]
mov dl, byte [edx + esi]
mov byte [edi + eax], dl
mov edx, dword [ecx + 0x24]
mov eax, dword [ecx + 0x10c8]
inc eax
lea edi, [edx + esi]
mov dword [ecx + 0x10c8], eax
add esi, 0xa
mov dl, byte [edi + 4]
mov bl, byte [edi + 6]
mov edi, dword [ecx + 0x10c0]
shl dl, 4
add dl, bl
mov byte [edi + eax], dl
mov ebx, dword [ecx + 0x10c8]
mov edx, dword [ecx + 0x10c0]
inc ebx
mov eax, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [edx + eax], 0
mov edi, dword [ecx + 0x10c8]
movsx edx, word [ecx + 0x28]
inc edi
inc ebp
cmp ebp, edx
mov dword [ecx + 0x10c8], edi
mov eax, edi
jl 0x5bde22
pop edi
pop esi
pop ebp
pop ebx
ret
push 0
push 0
push sym.CDViewer.exe____C__0FI_PHLH_LosslessImageCompression_5_9_5EmitS_
call fcn.0062dd90
push 1
call fcn.005e246f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x5bdf80
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ecx + 0x10c0]
mov edx, dword [ecx + 0x10c8]
push ebx
mov bl, byte [esp + 8]
mov byte [eax + edx], 0xff
mov edx, dword [ecx + 0x10c8]
inc edx
push ebp
mov dword [ecx + 0x10c8], edx
mov eax, edx
mov edx, dword [ecx + 0x10c0]
push esi
push edi
mov byte [edx + eax], bl
mov eax, dword [ecx + 0x10c8]
inc eax
mov edi, dword [ecx + 0x10c0]
mov dword [ecx + 0x10c8], eax
mov esi, eax
movsx eax, word [ecx + 0x28]
lea eax, [eax + eax*2 + 8]
mov edx, eax
sar edx, 8
mov byte [edi + esi], dl
mov ebx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc ebx
mov edx, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [esi + edx], al
mov edi, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x1c]
mov edx, 0xffff
inc edi
cmp esi, edx
mov dword [ecx + 0x10c8], edi
mov eax, edi
jg 0x5be134
cmp dword [ecx + 0x18], edx
jg 0x5be134
mov esi, dword [ecx + 0x10c0]
mov edx, dword [ecx + 0x20]
xor ebp, ebp
mov byte [esi + eax], dl
mov ebx, dword [ecx + 0x10c8]
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x10c0]
inc ebx
mov edx, eax
mov esi, ebx
mov dword [ecx + 0x10c8], ebx
sar edx, 8
mov byte [edi + esi], dl
mov edx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc edx
mov dword [ecx + 0x10c8], edx
mov byte [esi + edx], al
mov eax, dword [ecx + 0x10c8]
mov edi, dword [ecx + 0x10c0]
inc eax
mov dword [ecx + 0x10c8], eax
mov esi, eax
mov eax, dword [ecx + 0x18]
mov edx, eax
sar edx, 8
mov byte [edi + esi], dl
mov ebx, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
inc ebx
mov edx, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [esi + edx], al
mov edi, dword [ecx + 0x10c8]
mov esi, dword [ecx + 0x10c0]
mov dl, byte [ecx + 0x28]
inc edi
mov eax, edi
mov dword [ecx + 0x10c8], edi
mov byte [esi + eax], dl
mov esi, dword [ecx + 0x10c8]
inc esi
cmp word [ecx + 0x28], bp
mov dword [ecx + 0x10c8], esi
mov eax, esi
jle 0x5be12d
xor esi, esi
mov edx, dword [ecx + 0x24]
mov edi, dword [ecx + 0x10c0]
mov dl, byte [edx + esi]
mov byte [edi + eax], dl
mov edx, dword [ecx + 0x24]
mov eax, dword [ecx + 0x10c8]
inc eax
lea edi, [edx + esi]
mov dword [ecx + 0x10c8], eax
add esi, 0xa
mov dl, byte [edi + 4]
mov bl, byte [edi + 6]
mov edi, dword [ecx + 0x10c0]
shl dl, 4
add dl, bl
mov byte [edi + eax], dl
mov ebx, dword [ecx + 0x10c8]
mov edx, dword [ecx + 0x10c0]
inc ebx
mov eax, ebx
mov dword [ecx + 0x10c8], ebx
mov byte [edx + eax], 0
mov edi, dword [ecx + 0x10c8]
movsx edx, word [ecx + 0x28]
inc edi
inc ebp
cmp ebp, edx
mov dword [ecx + 0x10c8], edi
mov eax, edi
jl 0x5be0c3
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 0
push 0
push sym.CDViewer.exe____C__0FI_PHLH_LosslessImageCompression_5_9_5EmitS_
call fcn.0062dd90
push 1
call fcn.005e246f
nop
nop
nop
nop
nop
nop
nop
Function at 0x5be540
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
mov esi, ecx
test eax, eax
je 0x5be560
push 0
push 0
push sym.CDViewer.exe____C__0EI_IALA_LosslessCompression_5_9_5EmitDHT__CI__CJ_5_
call fcn.0062dd90
mov ebp, dword [esp + 0xc]
jmp 0x5be568
mov eax, dword [esp + 0xc]
mov ebp, dword [esi + eax*4 + 0x54]
test ebp, ebp
jne 0x5be57f
push ebp
push ebp
push sym.CDViewer.exe_unsigned_char_string
call fcn.0062dd90
push 1
call fcn.005e246f
mov eax, dword [ebp + 0x118]
test eax, eax
jne 0x5be684
mov ecx, dword [esi + 0x10c8]
mov edx, dword [esi + 0x10c0]
push ebx
push edi
mov byte [ecx + edx], 0xff
mov ecx, dword [esi + 0x10c8]
inc ecx
mov dword [esi + 0x10c8], ecx
mov eax, ecx
mov ecx, dword [esi + 0x10c0]
mov byte [ecx + eax], 0xc4
mov eax, dword [esi + 0x10c8]
inc eax
xor edi, edi
mov dword [esi + 0x10c8], eax
mov ecx, eax
mov eax, 1
xor edx, edx
mov dl, byte [eax + ebp + 4]
add edi, edx
inc eax
cmp eax, 0x10
jle 0x5be5ce
mov ebx, dword [esi + 0x10c0]
lea eax, [edi + 0x13]
mov edx, eax
sar edx, 8
mov byte [ebx + ecx], dl
mov edx, dword [esi + 0x10c8]
inc edx
mov dword [esi + 0x10c8], edx
mov ecx, edx
mov edx, dword [esi + 0x10c0]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x10c8]
mov dl, byte [esp + 0x14]
inc ecx
mov dword [esi + 0x10c8], ecx
mov eax, ecx
mov ecx, dword [esi + 0x10c0]
mov byte [ecx + eax], dl
mov eax, dword [esi + 0x10c8]
inc eax
mov ecx, 1
mov dword [esi + 0x10c8], eax
mov edx, dword [esi + 0x10c0]
mov bl, byte [ecx + ebp + 4]
mov byte [edx + eax], bl
mov eax, dword [esi + 0x10c8]
inc eax
inc ecx
cmp ecx, 0x10
mov dword [esi + 0x10c8], eax
jle 0x5be633
xor ecx, ecx
test edi, edi
jle 0x5be678
mov edx, dword [esi + 0x10c0]
mov bl, byte [ecx + ebp + 0x15]
mov byte [edx + eax], bl
mov eax, dword [esi + 0x10c8]
inc eax
inc ecx
cmp ecx, edi
mov dword [esi + 0x10c8], eax
jl 0x5be659
pop edi
mov dword [ebp + 0x118], 1
pop ebx
pop esi
pop ebp
ret 8

Function at 0x5bff90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6f306c]
push eax
push str.usage:__s__switches_
push 0x6eeca0
call fcn.005e35cf
push str.inputfile_outputfile_n
push 0x6eeca0
call fcn.005e35cf
push str.Switches__names_may_be_abbreviated_:_n
push 0x6eeca0
call fcn.005e35cf
push str.___colors_N______Reduce_image_to_no_more_than_N_colors_n
push 0x6eeca0
call fcn.005e35cf
push str.___fast__________Fast__low_quality_processing_n
push 0x6eeca0
call fcn.005e35cf
push str.___grayscale_____Force_grayscale_output_n
push 0x6eeca0
call fcn.005e35cf
push str.___scale_M_N_____Scale_output_image_by_fraction_M_N__eg__1_8_n
push 0x6eeca0
call fcn.005e35cf
push 0x685068
push str.___bmp___________Select_BMP_output_format__Windows_style__s_n
push 0x6eeca0
call fcn.005e35cf
add esp, 0x48
push str.___maxmemory_N___Maximum_memory_to_use__in_kbytes__n
push 0x6eeca0
call fcn.005e35cf
push str.___outfile_name__Specify_name_for_output_file_n
push 0x6eeca0
call fcn.005e35cf
push str.___verbose__or___debug___Emit_debug_output_n
push 0x6eeca0
call fcn.005e35cf
add esp, 0x18
push 1
call fcn.005e246f
nop
nop
nop
Function at 0x5c0810
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5c0840
push esi
call fcn.005c4800
mov al, byte [esi + 0x48]
add esp, 4
test al, al
je 0x5c0839
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5c08c6
mov eax, dword [esi + 0x1e4]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x5c08af
mov eax, dword [esi + 8]
test eax, eax
je 0x5c0864
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1e4]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5c08ab
cmp eax, 2
je 0x5c08af
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5c0857
cmp eax, 3
je 0x5c088a
cmp eax, 1
jne 0x5c0857
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5c0857
mov edx, dword [esi + 0x124]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5c0857
xor al, al
pop esi
ret
mov eax, dword [esi + 0x84]
push esi
mov dword [esi + 0x8c], eax
call fcn.005c0900
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5c08e6
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005c0900
add esp, 4
pop esi
ret

Function at 0x5c17c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x5c187a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x5c187a
cmp byte [eax + 1], 0x64
jne 0x5c187a
cmp byte [eax + 2], 0x6f
jne 0x5c187a
cmp byte [eax + 3], 0x62
jne 0x5c187a
cmp byte [eax + 4], 0x65
jne 0x5c187a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x110], 1
mov byte [esi + 0x111], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x5c9d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x42c
push ebx
push ebp
mov eax, dword [esp + 0x438]
push esi
push edi
mov edi, dword [esp + 0x448]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x18], SysReAllocString
lea ebp, [edi + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x444]
mov ebx, dword [esp + 0x1c]
lea edx, [edi + ebp]
mov dword [esp + 0x10], 0
sar edx, 1
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x44c]
lea esi, [ecx + ecx + 0x18]
lea edx, [edx + edx + 0x18]
sar esi, 1
sar edx, 1
test ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edx
jle 0x5c9f2b
mov eax, dword [eax + 0x7c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
jmp 0x5c9e05
mov ecx, dword [esp + 0x444]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edx + ebx]
cmp eax, ecx
jge 0x5c9e4c
mov edx, eax
sub edx, ecx
shl edx, 1
imul edx, edx
add ecx, 0x18
sub eax, ecx
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [esi + ebx]
shl eax, 1
imul eax, eax
cmp ecx, edi
jge 0x5c9e68
mov esi, ecx
sub esi, edi
lea esi, [esi + esi*2]
mov ebx, esi
imul ebx, esi
add edx, ebx
sub ecx, ebp
jmp 0x5c9e7c
lea ebx, [ecx + 0x18]
cmp eax, ebx
jle 0x5c9e5e
mov edx, eax
sub edx, ebx
shl edx, 1
imul edx, edx
jmp 0x5c9e22
xor edx, edx
cmp eax, esi
jg 0x5c9e22
sub eax, ebx
jmp 0x5c9e24
cmp ecx, ebp
jle 0x5c9eb7
mov esi, ecx
sub esi, ebp
lea esi, [esi + esi*2]
mov ebx, esi
imul ebx, esi
add edx, ebx
sub ecx, edi
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + 0x10]
mov esi, ecx
imul esi, ecx
add eax, esi
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [esi + ebx]
mov ebx, dword [esp + 0x44c]
cmp ecx, ebx
jge 0x5c9ec1
mov esi, ecx
sub esi, ebx
mov ebx, esi
imul ebx, esi
mov esi, dword [esp + 0x44c]
add edx, ebx
add esi, 0x18
sub ecx, esi
jmp 0x5c9ef2
cmp ecx, dword [esp + 0x30]
jg 0x5c9e7a
sub ecx, ebp
jmp 0x5c9e7c
lea esi, [ebx + 0x18]
cmp ecx, esi
mov dword [esp + 0x2c], esi
jle 0x5c9ee6
mov ebx, dword [esp + 0x2c]
mov esi, ecx
sub esi, ebx
mov ebx, esi
imul ebx, esi
mov esi, dword [esp + 0x44c]
add edx, ebx
sub ecx, esi
jmp 0x5c9ef2
cmp ecx, dword [esp + 0x34]
jg 0x5c9ef0
sub ecx, esi
jmp 0x5c9ef2
sub ecx, ebx
mov esi, ecx
imul esi, ecx
mov ecx, dword [esp + 0x14]
add eax, esi
mov dword [ecx], edx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge 0x5c9f0b
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
inc eax
add edx, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x5c9dfa
xor eax, eax
xor ecx, ecx
test ebx, ebx
jle 0x5c9f54
mov esi, dword [esp + 0x450]
lea edx, [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ebp, dword [edx]
cmp ebp, edi
jg 0x5c9f4c
mov byte [eax + esi], cl
inc eax
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x5c9f3e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret
Function at 0x5cce09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5cce61
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x685068
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5cce54
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5cce63
xor eax, eax
pop esi
leave
ret 4

Function at 0x5ec842
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6ef788
cmp edx, dword [eax]
je 0x5ec864
add eax, 8
inc ecx
cmp eax, str.__t__r_
jl 0x5ec855
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6ef788]
jne 0x5ec992
mov eax, dword [0x6f5214]
cmp eax, 1
je 0x5ec96c
test eax, eax
jne 0x5ec895
cmp dword [0x6eec5c], 1
je 0x5ec96c
cmp edx, 0xfc
je 0x5ec992
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5ec8cc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005e0dd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005e1740
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5ec90f
lea eax, [ebp - 0x1a4]
push eax
call fcn.005e1740
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6acb58
push edi
call fcn.005e3070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005e0dd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005e0de0
lea eax, [ebp - 0xa0]
push 0x6acb38
push eax
call fcn.005e0de0
push dword [esi + 0x6ef78c]
lea eax, [ebp - 0xa0]
push eax
call fcn.005e0de0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f1786
add esp, 0x2c
pop edi
jmp 0x5ec992
lea eax, [ebp + 8]
lea esi, [esi + 0x6ef78c]
push 0
push eax
push dword [esi]
call fcn.005e1740
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x5f8d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.005e1f20
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x5f8e3b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x5f8e3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x5f8dee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x5f8df9
or bh, 8
and edi, 0x8000000
je 0x5f8e14
mov eax, dword [0x6f703c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x5f8e3b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f9210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5f923b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x5f925f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x5f927a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x61b4e4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x61b51c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00619d18
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00619cf0
jmp 0x61b528
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x61d2e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x61d328
call fcn.00646245
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x61d328
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x61d31f
xor eax, eax
jmp 0x61d330
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0061d336
pop edi
pop esi
pop ebx
ret 4

Function at 0x61ff0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x61ff2c
cmp dword [edi + 0x3c], 0
jne 0x61ff2c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00646245
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0061ff6b
pop edi
pop esi
pop ebx
ret 8

Function at 0x61ffcf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00646245
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x620000
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00620025
pop edi
pop esi
pop ebx
ret 8

Function at 0x641837
Capabilities:
Create http request

Disassembly:
mov eax, 0x6808a8
call fcn.005e4714
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x64186f
call fcn.00646245
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x641894
push eax
push dword [esi + 4]
call fcn.00643cfa
jmp 0x6418a0
push esi
push eax
mov ecx, 0x6f4e88
call fcn.006418b1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18