joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404380
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x4043e1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4043c4
cmp edi, 2
jb 0x4043c4
cmp byte [esi], cl
jne 0x4043c4
cmp byte [esi + 1], cl
jne 0x4043c4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x42b6b8]
jmp 0x404395
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x42b6b8]
test edi, edi
jne 0x404395
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404410
cmp cl, 0x23
jne 0x4043f7
cmp byte [esi], cl
jne 0x4043f7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x42b6b8]
test cl, cl
jne 0x4043e8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x404520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x404534
mov dword [ebx], 0
mov edx, 0x42b494
call fcn.00404420
mov esi, eax
test esi, esi
je 0x404622
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x404618
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404618
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x404618
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404618
mov eax, dword [0x432674]
test eax, eax
je 0x4045ac
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x404618
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x4045fd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x432674]
add esp, 4
test eax, eax
je 0x4045ea
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40460f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x432040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x42b6b8]
sub esi, 1
jne 0x405b43
mov eax, dword [0x432674]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x405b72
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x405b81
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x405b9a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.004149e0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429559
mov esp, ebp
pop ebp
ret 4
Function at 0x409da0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x409ddd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x409dc3
cmp byte [esi], bl
jne 0x409dc3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x42b6b8]
test bl, bl
jne 0x409db4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00409d40
Function at 0x413ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fa8], 0
lea esi, [edi + 0x2fac]
je 0x413b62
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x413b1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00415610
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004047c0
mov edx, dword [esi]
mov ecx, 0x432670
push dword [edi + 0x2fa8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004047c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d9aa
mov eax, dword [0x432674]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41d99d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d9db
mov eax, dword [0x432674]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41d9ce
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41da0c
mov eax, dword [0x432674]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41d9ff
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41da59
mov eax, dword [0x432674]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41da4c
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41da8a
mov eax, dword [0x432674]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41da7d
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41dabb
mov eax, dword [0x432674]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41daae
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00420200
Function at 0x42a27f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42a2be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42a2be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42a2be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42a2be
cmp dword [ecx + 0x74], 0xe
jbe 0x42a2be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10022300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1002230f
pop dword [ebp - 4]
mov eax, 0x1002230f
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x4c570
push 0
mov eax, 0x1c6565db
sub eax, 0xc5bb4a7
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x17a7714b
sub ecx, 0x17a72bae
xor edx, edx
add edx, eax
mov ebx, 0x4ec8feff
add ebx, 0xc141d101
add ebx, dword [ebp - 4]
mov esi, 0x910b1220
add esi, 0x9e5dd208
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 4
add ebx, 0x781d307a
sub ebx, 0x781d3076
loop 0x1002236b
add eax, 0x858acd6e
add eax, 0x7a763bd9
mov ebx, eax
add eax, 0x292e8d41
add eax, 0xd6d172c4
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x100934d6
Capabilities:
Terminate process

Disassembly:
push 8
push 0x1009b6b8
call fcn.10091db8
push 8
call fcn.10022300
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x100a4598], esi
jne 0x1009350a
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x100a4594], esi
mov al, byte [ebp + 0x10]
mov byte [0x100a4590], al
cmp dword [ebp + 0xc], edi
jne 0x10093554
cmp dword [0x100a6708], edi
je 0x10093544
mov eax, dword [0x100a6704]
sub eax, 4
mov dword [0x100a6704], eax
cmp eax, dword [0x100a6708]
jb 0x10093544
mov eax, dword [eax]
cmp eax, edi
je 0x10093525
call eax
jmp 0x10093525
push 0x1009e020
mov eax, 0x1009e01c
call fcn.10093436
pop ecx
push 0x1009e028
mov eax, 0x1009e024
call fcn.10093436
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10093585
cmp dword [ebp + 0x10], edi
jne 0x10093593
mov dword [0x100a4598], esi
push dword [ebp + 8]
call fcn.100933f4
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10093592
push 8
call fcn.10022300
pop ecx
ret
call fcn.10091df3
ret

Function at 0x10094069
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100a1cdc]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100a2100]
je 0x1009409e
inc eax
cmp eax, 0x13
jb 0x1009408f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100a2100]
jne 0x100941c4
mov eax, dword [0x100a44dc]
cmp eax, 1
je 0x1009419c
cmp eax, edx
jne 0x100940ce
cmp dword [0x100a44e0], 1
je 0x1009419c
cmp ecx, 0xfc
je 0x100941c4
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10094104
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.10094340
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.10090280
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10094138
mov eax, edi
push eax
call fcn.10090280
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x1009b264
push edi
call fcn.10094440
add esp, 0x10
push edi
call fcn.10090280
push dword [esi + 0x100a2104]
mov ebx, eax
call fcn.10090280
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.10090ef0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10094340
push edi
push ebx
call fcn.10094350
push 0x1009b260
push ebx
call fcn.10094350
push dword [esi + 0x100a2104]
push ebx
call fcn.10094350
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.10022300
add esp, 0x2c
jmp 0x100941c4
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x100a2104]
push dword [esi]
call fcn.10090280
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.1009023b
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4e7640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8a000]
mov dword [edi + 0xcf740], 0x539f1972
push edi
jmp 0x4e766a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e7671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e7660
mov eax, 1
add ebx, ebx
jne 0x4e7683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e7694
jne 0x4e76b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e76b3
dec eax
add ebx, ebx
jne 0x4e76a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e7678
add ebx, ebx
jne 0x4e76af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e7705
xor ecx, ecx
sub eax, 3
jb 0x4e76cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e773a
sar eax, 1
mov ebp, eax
jmp 0x4e76d6
add ebx, ebx
jne 0x4e76d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e76a4
inc ecx
add ebx, ebx
jne 0x4e76e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e76a4
add ebx, ebx
jne 0x4e76f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e76e6
jne 0x4e7702
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e76e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e7724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e7716
jmp 0x4e7666
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e7724
add edi, ecx
jmp 0x4e7666
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e7742
cmp byte [edi], 0x11
jne 0x4e7742
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 0x4e7747
lea edi, [esi + 0xe0000]
mov eax, dword [edi]
or eax, eax
je 0x4e77bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe9a68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe9be4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e7774
mov ecx, edi
jns 0x4e77a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe9be8]
or eax, eax
je 0x4e77b9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e7791
call dword [esi + 0xe9bf8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e77f0
cmp al, 0xef
ja 0x4e77e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e77c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e77d2
mov ebp, dword [esi + 0xe9bec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x4e7824
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4011b0
Capabilities:
Get graphical window text
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push 0
mov eax, dword [0x4a9638]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e710
add esp, 0xc
mov dword [0x4a963c], 0
mov dx, word [0x4a9670]
push edx
mov ecx, dword [0x4a95ec]
call fcn.00403590
mov dword [0x4a9644], eax
mov ecx, dword [0x4a95e8]
call fcn.00463000
test eax, eax
jge 0x40120a
mov dword [ebp - 0x40], 0
jmp 0x401218
mov ecx, dword [0x4a95e8]
call fcn.00463000
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [0x4a9648], eax
mov ecx, dword [0x4a9648]
push ecx
mov edx, dword [0x4a9644]
push edx
mov ax, word [0x4a9670]
push eax
mov ecx, dword [0x4a95ec]
call fcn.004036a0
mov dword [0x4a9650], eax
push 0x4a95f0
mov ecx, dword [0x4a9650]
push ecx
mov dx, word [0x4a9670]
push edx
mov ecx, dword [0x4a95ec]
call fcn.004049a0
push eax
call dword [sym.imp.Eqm.dll_int___cdecl_eqm_GetSWData_int__int__class_CSWTyp__]
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [0x4a9644]
push eax
mov cx, word [0x4a9670]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.00402ca0
mov word [ebp - 8], ax
movsx edx, word [ebp - 8]
cmp edx, 0x7fc0
jne 0x4012b5
mov eax, dword [0x4a9644]
push eax
mov cx, word [0x4a9670]
push ecx
call fcn.00401890
add esp, 8
mov dword [0x4a9629], eax
mov edx, dword [0x4a9648]
push edx
mov eax, dword [0x4a9644]
push eax
mov cx, word [0x4a9670]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.00403840
mov dword [0x4a963c], eax
cmp dword [0x4a963c], 0x80000000
jne 0x4012f0
mov dword [0x4a963c], 0x8000
mov edx, dword [0x4a963c]
mov dword [0x4a9640], edx
cmp dword [ebp - 4], 0
je 0x401347
mov eax, dword [0x4a961d]
mov dword [0x4a964c], eax
mov ecx, dword [0x4a9629]
push ecx
mov edx, dword [0x4a9625]
push edx
mov eax, dword [0x4a963c]
push eax
mov cx, word [0x4a9670]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.004049a0
push eax
push 0x4a9612
push 0x65
mov edx, dword [ebp + 8]
push edx
call fcn.00410e10
add esp, 0x1c
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_syseditrec.ini
push 0x4a94e8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x4a94e8
push 0
push str.EditText
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4a9654], eax
cmp dword [0x4a9654], 0
jne 0x4013b9
push 0
push 0x3f2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3f3
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xec
push 0x4a94e8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x4a9612
push 0x4a94e8
push str._s___s.txt_
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401890
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov cx, word [ebp + 8]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.004031d0
mov word [ebp - 8], ax
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x134]
push eax
movsx ecx, word [ebp - 8]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.00401990
mov ecx, eax
call fcn.00425790
test eax, eax
jne 0x4018e4
xor eax, eax
jmp 0x401989
mov edx, dword [ebp - 0x138]
push edx
mov ax, word [ebp - 0x134]
push eax
mov ecx, dword [0x4a95ec]
call fcn.00402ca0
mov word [ebp - 4], ax
mov cx, word [ebp - 0x134]
push ecx
mov ecx, dword [0x4a95ec]
call fcn.004049a0
push eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._spcu._3.3d_recipeepe.ini
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
movsx eax, word [ebp - 4]
push eax
push str.EPE_3.3d
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
push 0x80
lea eax, [ebp - 0x130]
push eax
push 0x498130
push str.Alter
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sSYSeditrec.INI
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0
push str.AutoStart
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x15c4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4060c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sSYSeditrec.INI
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 5
push str.SelectMode
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov word [edx], ax
lea eax, [ebp - 0x104]
push eax
push 1
push 0x49856c
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.BasicRec
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.BasicRecType
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x14]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.Recipe
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.RecType
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x1c]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.RecPcu
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x20]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 0x5f
push str.Year
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x24]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.Order
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x28]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.Batch
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x2c]
mov word [ecx], ax
lea edx, [ebp - 0x104]
push edx
push 1
push str.StreamNo
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and eax, 0xffff
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x411af0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0xa8
call fcn.004117b0
add eax, 1
mov dword [ebp - 0x14c], eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_recipev3.ini
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x14c]
push ecx
push str.RecType_3.3d
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0
push str.MaxRec
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x14c]
push edx
push 2
call sub.WINDCS32.dll_sysini_GetSprache
push eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_texte._d_sort_d.txt
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push 1
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x148]
push edx
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.0041e500
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret