joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x73b7d7
Capabilities:
Authenticate hmac

Disassembly:
leave
call 0x6934978d
sub byte [edi], 0x51
push edi
push eax
push ecx
push esi
push ecx
push ecx
push ecx
push 0xa2688780
mov edi, 0x6ac67fbf
pop eax
call 0x309b7ddb
cmp byte [0x840f000f], 0x82
fcmovbe st(0), st(4)
loope 0x73b78f
in al, 0x30
pop esi
xor al, 0x83
pushal
or ch, dl
lahf
add eax, dword [esp + 0x40]
invalid
into
cmp dl, byte [eax]
adc cl, ch
xchg ecx, eax
adc al, 0x8e
invalid
adc cl, ch
xchg ecx, eax
adc al, 0x8e
sub cl, dh
fmul qword [eax - 0x141f5bd7]
adc al, 0x91
dec eax
or eax, 0xf5b2c1c3
movsx ebp, di
dec edi
or byte [0xd41c67f], al
add byte [edx + 0x32996815], cl
rol al, 1
test dl, 0xb9
lodsd eax, dword [esi]
mov dl, 0xbc
out dx, eax
call 0x10f78d08
jb 0x73b795
jl 0x73b832
sbb byte [ebx], al
adc al, 0x5c
inc ebx
add al, 0x8b
dec ebx
ja 0x73b869
rcl byte [eax - 0x70]
test byte [esi + 0x18fcc183], dh
or al, 0x63
mov edi, 0x58750d89
xor eax, 0x49b88891
test al, 0x36
adc byte [ebp - 0x52], bh
das
inc eax
mov esp, 0x12747dc3
sub byte [esi + 0x20b61ef8], dh
call 0x6f77c30a
jb 0x73b7d5
inc eax
call 0x3980c109
inc ebx
add al, 0xf
invalid
or bh, byte [ebp - 0x35dd8e79]
loop 0x73b84c
mov ebp, 0xcfe41d87
jo 0x73b8cb
mov ebp, 0xdee85040
ror byte [esp + 0xe], cl
mov cl, byte [ecx + edx + 0x31]
jb 0x73b84c
invalid
idiv dword cs:[ebx + 0x5891048b]
mov eax, dword [eax]
dec ebx
mov ebx, 0x149bbee6
idiv byte [0x2454ff08]
or al, 0x33
ja 0x73b935
scasb al, byte es:[edi]
jmp 0x73b909
dec esp
pop ss
iretd
sal dword [eax], 1
adc dword [edx - 0x5e], 0x58
inc ecx
ljmp 0x244c
add eax, 0x38801005
jecxz 0x73b8ea
sub dword [edx - 0x72], esi
or ebp, dword [edi]
inc ebp
inc eax
pop es
leave
popal
je 0x73b98c
iretd
ret 0x430f
Function at 0x865b95
Capabilities:
Encode data using xor

Disassembly:
test al, 0x8b
inc ebp
cmp dword [eax + 7], edx
sbb al, 0x81
scasd eax, dword es:[edi]
arpl word [eax + edx*8], si
inc eax
push ebx
in eax, 0x77
jmp 0x865c15
inc ecx
test dword [edx - 0x7cc3ff9a], esp
add bl, dl
clc
call [edi]
sub al, 0x58
pop edi
inc ecx
push eax
push eax
pop edi
push ebx
dec esp
inc ebp
inc ebp
push eax
pop edi
dec esp
inc ebp
dec esi
inc edi
push esp
dec eax
and byte [ebx + 0x24], ah
popal
inc edi
pop ebp
stc
dec edi
pushfd
lodsb al, byte es:[esi]
or dword [ecx], esp
leave
jb 0x865c54
cmp byte [edx], al
pop ss
xlatb
cmp dword [ebx], eax
test byte [ecx], cl
ret 0x6dbf
push ebx
sbb dl, byte [ebx + 0x65]
bound edx, qword [edx + 0x40]
sub al, 0xb1
rcr byte [ebp + 0x76], 0xb0
outsd dx, dword [esi]
dec ebx
call 0xa79671cf
add eax, dword [0x80f70b68]
jge 0x865c33
adc byte [ebx], 0x1b
pop es
pop ds
pop ecx
mov esp, 0x3cbccf7
pop ss
add ebx, dword [ebx + 6]
xor dword [eax], eax
pop ebx
std
jo 0x33cae673
jo 0x865c7d
xchg edx, eax
add eax, 0x41a31c9c
cmp eax, 0xf1263c25
sbb dword [ebp + 0x3b], ecx
ja 0x865cf4
cmpsb byte [esi], byte es:[edi]
mov byte [0x1c25fe1], dl
xor edx, dword [esi]
inc edi
pop ecx
adc byte [edi], cl
cmp byte [eax - 0x49], bh
dec eax
wait
rol dword [eax], 0x50
adc byte [edx - 0x80], bl
push edx
sub eax, dword [edx + 0xf5dfd09]
pop edi
arpl word [eax + 0x6f], bp
imul esp, dword [ebx + 0x65], 0x30da0a2b
test byte [eax - 0x38], ah
push edx
hlt
xchg esi, eax
mov ecx, 0x71379b2a
adc dword [ebx], esp
mov byte [eax + 0x33], al
sbb eax, 0x780994f4
popfd
jns 0x865d66
cmp byte [ebx - 0x668a8a8e], dh
daa
inc esp
mov ebp, 0x508d1d53
add eax, 0x34ad347f
test eax, 0xcd5ca753
pop edi
leave
rcr dword [esp + edx*2 - 0x20], 0xea
cmp byte [0x8baa6b59], cl
or bh, byte [ecx + 0x42]
sbb eax, 0xdccb0346
pop ss
scasb al, byte es:[edi]
xor byte [edi], bh
movsd dword es:[edi], dword [esi]
and eax, 0x6447038f
mov al, byte [0x6cd930a9]
add ecx, ebp
mov edx, 0x3847572f
add eax, 0x4d7d2d78
imul esi, dword [0x3954300a], 0x448b2eb9
inc ebp
xor byte [ebx - 8], ah
adc al, 0xff
aaa
inc esp
mov esp, 0x158ca000
xchg ebx, eax
add al, al
mov ss, word [0x202f2f10]
add byte [eax], dh
cmp dh, 0x67
push eax
cld
add dword [edx], esp
xor byte [0x1e60906], cl
add dword [0x1820300], eax
ud0
Function at 0x9b44c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65f00d
lea edi, [esi - 0x25e00d]
push edi
or ebp, 0xffffffff
jmp 0x9b44e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9b44e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9b44d8
mov eax, 1
add ebx, ebx
jne 0x9b44fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9b44f0
jne 0x9b450c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9b44f0
xor ecx, ecx
sub eax, 3
jb 0x9b4520
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9b4592
mov ebp, eax
add ebx, ebx
jne 0x9b452b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9b4538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9b455c
inc ecx
add ebx, ebx
jne 0x9b4548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9b453d
jne 0x9b4559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9b453d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9b457c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9b456d
jmp 0x9b44de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9b457c
add edi, ecx
jmp 0x9b44de
pop esi
mov edi, esi
mov ecx, 0x184b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9b459a
cmp byte [edi], 0x11
jne 0x9b459a
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 0x9b459f
lea edi, [esi + 0x5b0000]
mov eax, dword [edi]
or eax, eax
je 0x9b460e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b6f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b6ff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9b45cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5b6ffc]
or eax, eax
je 0x9b4608
mov dword [ebx], eax
add ebx, 4
jmp 0x9b45e9
call dword [esi + 0x5b6ff8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9b463f
cmp al, 0xef
ja 0x9b4632
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9b4614
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9b4621
mov ebp, dword [esi + 0x5b7000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x9b4673
sub esp, 0xffffff80
jmp 0x40f16c
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x59230061
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x29465dc8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x629df1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6333a8
cmp edx, dword [eax]
je 0x629e13
add eax, 8
inc ecx
cmp eax, 0x633438
jl 0x629e04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6333a8]
jne 0x629f41
mov eax, dword [0x63ad34]
cmp eax, 1
je 0x629f1b
test eax, eax
jne 0x629e44
cmp dword [0x6332d4], 1
je 0x629f1b
cmp edx, 0xfc
je 0x629f41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629e7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a7d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062ac60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629ebe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062ac60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fac4
push edi
call fcn.0062cb30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a7d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a7e0
lea eax, [ebp - 0xa0]
push 0x62faa4
push eax
call fcn.0062a7e0
push dword [esi + 0x6333ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a7e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062caa4
add esp, 0x2c
pop edi
jmp 0x629f41
lea eax, [ebp + 8]
lea esi, [esi + 0x6333ac]
push 0
push eax
push dword [esi]
call fcn.0062ac60
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x31035806
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x3074544
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x406054], 1
mov dword [0x406050], 1
mov dword [0x40604c], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40600c], eax
mov eax, dword [0x406060]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x406074]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40605c]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x40301c], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x4014f0
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x94
mov dword [ebp - 0x1d], 0x706d6953
mov dword [ebp - 0x19], 0x4720656c
mov dword [ebp - 0x15], 0x43204955
mov dword [ebp - 0x11], 0x7373616c
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x48]
mov eax, 0
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x44], sym.__Z10WindowProcP6HWND__jjl_16
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1d]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_RegisterClassA]
call eax
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xc8
mov dword [esp + 0x18], 0x12c
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], str.Simple_GUI
lea eax, [ebp - 0x1d]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4015c8
mov eax, 0
jmp 0x401656
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x64], ecx
add eax, 4
cmp eax, edx
jb 0x4015f3
jmp 0x401620
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
call eax
sub esp, 4
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageA]
call eax
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetMessageA]
call eax
sub esp, 0x10
test eax, eax
setne al
test al, al
jne 0x401600
mov eax, 0
mov edi, dword [ebp - 4]
leave
ret 0x10
Function at 0x401a70
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x406068]
test esi, esi
jle 0x401bf0
mov eax, dword [0x40606c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401b04
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401b87
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401af0
mov dword [esp], ebx
call sym.___mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401c17
mov eax, dword [0x40606c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
mov edx, dword [0x40606c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401bf7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401b80
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401b90
add dword [0x406068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40606c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401b0e
mov eax, dword [0x40606c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
nop
Function at 0x402130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40607c]
sub esp, 4
test ebx, ebx
je 0x402185
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40217e
test esi, esi
je 0x40217e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402160
mov dword [esp], 0x406084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4023b0
Capabilities:
Parse pe header
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_exit]

Function at 0x4024e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402505
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402510
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402505
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402558
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40254e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40255a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402540
xor eax, eax
pop ebx
pop esi
ret
Function at 0x52387ed1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x523ac650]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x523adfbc], 1
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jne 0x52387f03
push dword [ebp + 0x10]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x52387f31
push 0x100
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.523a8462
leave
ret 0xc

Function at 0x52388e02
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x40], edi
jne 0x52388e1d
cmp dword [esi + 0x44], edi
je 0x52388eb4
push ebx
push edi
push edi
push 0xe
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov ebx, eax
push edi
inc ebx
push ebx
call fcn.52394459
mov dword [ebp - 4], eax
cmp eax, edi
je 0x52388eb3
push eax
push ebx
push 0xd
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push edi
add ebx, ebx
push ebx
call fcn.52394459
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x52388e62
push dword [ebp - 4]
jmp 0x52388eae
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
je 0x52388e8d
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 8]
push edi
push edi
call ebx
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x52388ea3
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 8]
push edi
push edi
call ebx
mov dword [esi + 0x44], eax
push dword [ebp - 4]
call fcn.52394384
push dword [ebp - 8]
call fcn.52394384
pop ebx
pop edi
pop esi
leave
ret

Function at 0x52388ebd
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x40], edi
jne 0x52388ed4
cmp dword [esi + 0x44], edi
je 0x52388f3a
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0xe
push dword [esi + 0x28]
call ebx
push 1
inc eax
push edi
push eax
mov dword [ebp - 8], eax
call fcn.52394459
mov dword [ebp - 4], eax
cmp eax, edi
je 0x52388f39
push eax
push dword [ebp - 8]
push 0xd
push dword [esi + 0x28]
call ebx
mov eax, dword [esi + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x52388f1d
push edi
push edi
push eax
push dword [ebp - 4]
push edi
push edi
call ebx
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x52388f31
push edi
push edi
push eax
push dword [ebp - 4]
push edi
push edi
call ebx
mov dword [esi + 0x44], eax
push dword [ebp - 4]
call fcn.52394384
pop ebx
pop edi
pop esi
leave
ret
Function at 0x523891c9
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
neg eax
push esi
sbb eax, eax
and eax, 5
mov esi, ecx
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
je 0x523891f2
mov ecx, esi
call fcn.52389177
pop esi
pop ebp
ret 4
Function at 0x5238abd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x48], 0
push edi
mov edi, 0xfa0
je 0x5238abeb
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x58], 0
je 0x5238ac15
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x5238ac01
pop edi
mov ecx, esi
pop esi
jmp fcn.52389f23
push 0
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x5238abf8
inc dword [esi + 0x48]
pop edi
pop esi
ret