joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Print debug messages
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xe0
push ebx
push ebp
mov ebp, dword [esp + 0xec]
push esi
push edi
mov edi, dword [esp + 0xf8]
mov esi, ecx
push 0x65
push ebp
mov dword [esi + 4], ebp
mov dword [esi + 0xc], eax
mov dword [esi], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x43304b
push 0x463aa0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
push 0x467980
push 0xff
push 0x466a30
push 0x463ab4
push 0x463ac0
mov dword [esi], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x463ac8
call edi
mov ecx, dword [esi + 4]
push 0x466a30
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x467980
push 0xff
push 0x466a30
push 0x463ad4
push 0x463adc
push 0x463ae0
call edi
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x466a30
push 1
push edx
call ebp
push 0x467980
push 0xff
push 0x466a30
push 0x463af0
push 0x463bbc
push str.TNCSTATUS
call edi
mov eax, dword [esi + 4]
push 0x466a30
push 0xc8
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x64
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x30]
push ecx
mov eax, 7
mov edx, 0x50
push ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], edx
mov edx, dword [esi + 8]
push 0x101b
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x463bcc
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xcc], 0x463bd8
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], 0x463be4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], str.Persist
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], str.Slottime
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], str.Traffic_Level
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xec], str.Bytes_2min
call edi
lea eax, [esp + 0xb0]
push eax
push 1
push 0x101b
mov ecx, dword [esi + 8]
push ecx
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0x70]
push edx
push 2
push 0x101b
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 3
push 0x101b
push edx
call edi
mov ecx, dword [esi + 8]
lea eax, [esp + 0x50]
push eax
push 4
push 0x101b
push ecx
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0x90]
push edx
push 5
push 0x101b
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0xd0]
push ecx
push 6
push 0x101b
push edx
call edi
mov ecx, esi
call fcn.00432af0
mov eax, dword [esi + 4]
push ebx
push 0x1d4c0
push 0x6f
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret 0xc
Function at 0x433280
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc0
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0xd4]
push 0x200
push eax
mov dword [esi + 0xc], eax
mov dword [esi], ecx
mov dword [esi + 8], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x467980
push 0xff
push 0x466a30
push 0x463c80
push str.CAPTION
push 0x463c94
mov dword [esi + 4], eax
call edi
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x466a30
push eax
call ebx
push 0x467980
push 0xff
push 0x466a30
push 0x463ca0
push 0x463ca8
push str.AX25STATUS
call edi
mov ecx, dword [esi + 0xc]
push 0x466a30
push 1
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 0xc]
push str.AX25_Status
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 7
xor eax, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x4c], ecx
mov edx, 0x64
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0x8c]
push ecx
push eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0xbc], edx
mov edx, dword [esi + 4]
push 0x101b
push edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0xc8
mov dword [esp + 0xa8], str.Connection
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], str.MaxFrame
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], str.Sent
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], str.Rcvd
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], str.Min_Frack_Max
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], str.Port
call edi
lea eax, [esp + 0x4c]
push eax
push 1
mov ecx, dword [esi + 4]
push 0x101b
push ecx
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
push 0x101b
push eax
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push ecx
push 3
push 0x101b
push edx
call edi
mov ecx, dword [esi + 4]
lea eax, [esp + 0x6c]
push eax
push 4
push 0x101b
push ecx
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0xac]
push edx
push 5
push 0x101b
push eax
call edi
mov ecx, esi
call fcn.00432da0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xc0
ret 0xc

Function at 0x4336c0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x114]
lea edx, [esp + 8]
push edx
push 0x104
mov dword [esi + 0x20c], eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x108]
push 0x463f40
push ecx
call edi
lea edx, [esp + 0x14]
push edx
lea eax, [esi + 4]
push str._sAGWTCPIP.INI
push eax
call edi
add esp, 0x18
pop edi
mov eax, esi
pop esi
add esp, 0x104
ret 8
Function at 0x433a70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [sym.imp.USER32.dll_CheckDlgButton]
push ebp
push esi
push edi
push 0
mov esi, ecx
mov eax, dword [esi + 0x20c]
push 0x75
push eax
call ebx
mov ecx, dword [esi + 0x20c]
push 1
push 0x65
push ecx
call ebx
mov edx, dword [esi + 0x20c]
push 0
push 0x76
push edx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esi + 4]
push edi
push 0xa
lea eax, [esp + 0x18]
push eax
push 0x468581
push 0x464040
push 0x464044
call ebp
mov edx, dword [esi + 0x20c]
lea ecx, [esp + 0x10]
push ecx
push 0x69
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push 1
push 0x46404c
push 0x464054
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x433b03
mov eax, dword [esi + 0x20c]
push 1
push 0x83
push eax
jmp 0x433b11
mov ecx, dword [esi + 0x20c]
push 0
push 0x83
push ecx
call ebx
push edi
push 1
push 0x46405c
push 0x46406c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x433b3a
mov edx, dword [esi + 0x20c]
push 1
push 0x84
push edx
jmp 0x433b48
mov eax, dword [esi + 0x20c]
push 0
push 0x84
push eax
call ebx
push edi
push 0xa
lea ecx, [esp + 0x18]
push ecx
push 0x468582
push 0x464074
push 0x464080
call ebp
mov eax, dword [esi + 0x20c]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edx, [esp + 0x10]
push edx
push 0x7c
push eax
call ebx
push edi
push 0
push 0x464088
push 0x464090
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi + 0x20c]
push 0
push eax
push 0x14e
push 0x78
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push 0xa
lea edx, [esp + 0x18]
push edx
push 0x464098
push 0x4640a0
push 0x4640a8
call ebp
mov ecx, dword [esi + 0x20c]
lea eax, [esp + 0x10]
push eax
push 0x68
push ecx
call ebx
push edi
push 0xa
lea edx, [esp + 0x18]
push edx
push str.1514
push 0x4640b8
push 0x4640c0
call ebp
mov ecx, dword [esi + 0x20c]
lea eax, [esp + 0x10]
push eax
push 0x80
push ecx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x434210
Capabilities:
Persist via windows service
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x514
push ebp
mov ebp, dword [esp + 0x51c]
push esi
push edi
push ebp
push 0x464410
call fcn.00436550
mov al, byte [0x468583]
mov byte [esp + 0x21c], al
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x21d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x118]
mov esi, 0xc8
push str.SystemCurrentControlSetServicesClassNet
push ecx
stosb byte es:[edi], al
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x11c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4342b8
push 0
push 0x464448
push 0x46445c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
add esp, 0x514
ret 8
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x23c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], 0
jmp 0x434310
mov esi, 0xc8
nop
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x31c]
push eax
push ecx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x434414
lea eax, [esp + 0x318]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x424]
push 0x46448c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0xf003f
push esi
lea ecx, [esp + 0x428]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x43439d
push 0
push 0x464494
push str.Cant_open_Registry_portname
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.DriverDesc
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x14
lea eax, [esp + 0x4c]
push str.SV2AGW_TCP_IP_Adapter
push eax
call fcn.0043a790
add esp, 0xc
test eax, eax
jne 0x434409
mov ecx, dword [esp + 0xc]
push 6
push ebp
push 3
push eax
push 0x4644e8
push ecx
call edi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x52c]
push edx
push 4
push 0
push 0x4644f0
push eax
call edi
mov esi, eax
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
inc ecx
test esi, esi
mov dword [esp + 0x14], ecx
je 0x43430a
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
add esp, 0x514
ret 8
Function at 0x434440
Capabilities:
Check os version
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push str.Mycall_s
call fcn.00436550
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
add esp, 8
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 5
jb 0x434540
lea ecx, [esp + 0xa8]
push str.SystemCurrentControlSetServices_agw
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp + 0xc]
push edx
push 2
push 0
lea eax, [esp + 0xb4]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
je 0x4344d6
push 0
push 0x46452c
push 0x464540
push 0
call edi
mov ecx, dword [esp + 0xc]
push 6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 3
push 0
push 0x464570
push ecx
call esi
test eax, eax
je 0x434503
push 0
push 0x464578
push 0x46458c
push 0
call edi
mov eax, dword [esp + 0xc]
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push 0x4645bc
push eax
call esi
test eax, eax
je 0x43452d
push 0
push 0x4645c4
push 0x4645d8
push 0
call edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0xa8]
push str.SystemCurrentControlSetServicesAGWTCPIP
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push 2
push 0
lea ecx, [esp + 0xb4]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43458a
push 0
push 0x464634
push str.You_Have_to_Install_first_SV2AGW_TCPIP_Adapter_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0xc]
push 6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 3
push 0
push str.MYCALL
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push str.PACLEN
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4345d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x68
mov edi, ecx
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x96
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x28]
push ecx
xor esi, esi
push esi
mov edx, 7
push 0x101b
push eax
mov dword [edi], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], str.IP_Address
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], str.RadioPort
call ebx
mov eax, dword [edi]
lea edx, [esp + 0x48]
push edx
push 1
push 0x101b
push eax
call ebx
push 0x4646a0
push 0x4646a4
call fcn.0043a547
mov esi, eax
add esp, 8
test esi, esi
jne 0x434677
push 0x4646b0
push 0x4646b4
call fcn.0043a547
add esp, 8
mov esi, eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.0043a837
push esi
push 1
lea edx, [esp + 0x30]
push 8
push edx
call fcn.0043a2fc
add esp, 0x18
test eax, eax
je 0x43473b
lea esp, [esp]
push 4
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004394b0
movzx edx, byte [esp + 0x1f]
movzx eax, byte [esp + 0x1e]
movzx ecx, byte [esp + 0x1d]
push edx
movzx edx, byte [esp + 0x20]
push eax
push ecx
push edx
push 0x4646c0
push 0x468588
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [edi]
mov eax, dword [esp + 0x3c]
add esp, 0x24
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x1007
push edx
mov dword [esp + 0x78], 5
mov dword [esp + 0x8c], 0x468588
mov dword [esp + 0x98], eax
mov dword [esp + 0x80], 0
call ebx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0043a837
push esi
push 1
lea ecx, [esp + 0x30]
push 8
push ecx
call fcn.0043a2fc
add esp, 0x18
test eax, eax
jne 0x4346a0
push esi
call fcn.0043a1c2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4348f0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x4647c0
push 0x4647c4
mov ebx, ecx
call fcn.0043a547
push 0x4647d0
push 0x4647d4
mov edi, eax
call fcn.0043a547
mov esi, eax
push esi
push 1
lea eax, [esp + 0x28]
push 8
push eax
call fcn.0043a2fc
add esp, 0x20
test eax, eax
je 0x434966
mov eax, dword [esp + 0x10]
test eax, eax
je 0x434950
push edi
push 1
lea ecx, [esp + 0x18]
push 8
push ecx
call fcn.0043a661
add esp, 0x10
push esi
push 1
lea edx, [esp + 0x18]
push 8
push edx
call fcn.0043a2fc
add esp, 0x10
test eax, eax
jne 0x434936
push esi
call fcn.0043a1c2
push edi
call fcn.0043a1c2
add esp, 8
push 0
push 0x4647e0
push 0x4647ec
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.temp.bin
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4349e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x758
push ebx
push esi
mov esi, ecx
mov dword [esi + 5], eax
mov eax, dword [esp + 0x768]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x434a05
mov byte [esi + 4], 0
jmp 0x434a09
mov byte [esi + 4], 1
lea ecx, [esp + 0x80]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [0x467ab0]
lea edx, [esp + 0x184]
push edx
push 0
mov dword [esp + 0x18], 0
call fcn.00402130
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
je 0x434a7b
mov ecx, dword [esi + 5]
lea eax, [esp + 0x184]
push eax
push 0
push 0x180
push 0x6b
push ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x467ab0]
lea edx, [esp + 0x184]
inc eax
push edx
push eax
mov dword [esp + 0x18], eax
call fcn.00402130
test eax, eax
jne 0x434a43
mov al, byte [esi + 4]
test al, al
je 0x434b88
push ebp
push edi
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004394b0
push 0x464804
push 0x464808
call fcn.0043a547
mov edx, dword [esi]
push 0
mov edi, eax
push edx
push edi
call fcn.0043a73c
push edi
push 1
lea eax, [esp + 0x44]
push 8
push eax
call fcn.0043a2fc
push edi
call fcn.0043a1c2
push 4
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004394b0
movzx eax, byte [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x40
push eax
lea ecx, [esp + 0x28]
push 0x464814
push ecx
call edi
mov eax, dword [esi + 5]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x66
push eax
call ebp
movzx ecx, byte [esp + 0x11]
push ecx
lea edx, [esp + 0x28]
push 0x464818
push edx
call edi
mov ecx, dword [esi + 5]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x67
push ecx
call ebp
movzx edx, byte [esp + 0x12]
push edx
lea eax, [esp + 0x28]
push 0x46481c
push eax
call edi
mov edx, dword [esi + 5]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0x68
push edx
call ebp
movzx eax, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x28]
push 0x464820
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x24]
mov eax, dword [esi + 5]
push edx
push 0x69
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 5]
push 0
push ecx
push 0x186
push 0x6b
push edx
call ebx
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x758
ret 8
Function at 0x434cf0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x6e0
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x110]
push ecx
mov ecx, dword [0x467ab0]
xor edi, edi
push edi
call fcn.00402130
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
je 0x434d63
jmp 0x434d30
mov eax, dword [esi + 0x20c]
lea edx, [esp + 0x110]
push edx
push 0
push 0x143
push 0x78
push eax
call ebx
lea ecx, [esp + 0x110]
push ecx
mov ecx, dword [0x467ab0]
inc edi
push edi
call fcn.00402130
test eax, eax
jne 0x434d30
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push 0
push 0x463f64
push 0x463f6c
call edi
test eax, eax
je 0x434d96
mov ecx, esi
call fcn.00433730
mov ecx, esi
call fcn.00433c00
pop edi
pop esi
pop ebx
add esp, 0x6e0
ret
mov eax, dword [esi]
push eax
push 0
push 0x463f74
push 0x463f7c
call edi
test eax, eax
je 0x434df0
push 0x463f84
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x20c]
lea edx, [esp + 0x110]
push edx
push 0
push 0x143
push 0x78
push eax
call ebx
mov ecx, esi
call fcn.00433a70
mov ecx, esi
call fcn.00433c00
pop edi
pop esi
pop ebx
add esp, 0x6e0
ret
mov ecx, dword [esi + 0x20c]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0
push 0x75
push ecx
call edi
mov edx, dword [esi + 0x20c]
push 0
push 0x65
push edx
call edi
mov eax, dword [esi + 0x20c]
push 1
push 0x76
push eax
call edi
mov ecx, esi
call fcn.00433c00
pop edi
pop esi
pop ebx
add esp, 0x6e0
ret
Function at 0x439aba
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.0043bb84
xor esi, esi
inc esi
cmp dword [0x469b08], esi
pop ecx
jne 0x439ae2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x469b04], esi
mov byte [0x469b00], al
jne 0x439b48
mov ecx, dword [0x46b2d0]
test ecx, ecx
je 0x439b29
mov eax, dword [0x46b2cc]
sub eax, 4
cmp eax, ecx
jmp 0x439b22
mov eax, dword [eax]
test eax, eax
je 0x439b14
call eax
mov eax, dword [0x46b2cc]
sub eax, 4
cmp eax, dword [0x46b2d0]
mov dword [0x46b2cc], eax
jae 0x439b0c
mov eax, 0x44c024
mov esi, 0x44c02c
cmp eax, esi
mov edi, eax
jae 0x439b48
mov eax, dword [edi]
test eax, eax
je 0x439b41
call eax
add edi, 4
cmp edi, esi
jb 0x439b39
mov eax, 0x44c030
mov esi, 0x44c038
cmp eax, esi
mov edi, eax
jae 0x439b67
mov eax, dword [edi]
test eax, eax
je 0x439b60
call eax
add edi, 4
cmp edi, esi
jb 0x439b58
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x439b78
push 8
call fcn.0043baf0
jmp 0x439b8a
push dword [ebp + 8]
mov dword [0x469b08], 1
call fcn.00439a13
pop ecx
pop ebp
ret
Function at 0x43f1da
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4656b4]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x465c48]
je 0x43f207
inc eax
cmp eax, 0x12
jb 0x43f1f8
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x465c48]
jne 0x43f33b
mov eax, dword [0x469b1c]
cmp eax, 1
je 0x43f316
cmp eax, edx
jne 0x43f237
cmp dword [0x465504], 1
je 0x43f316
cmp ecx, 0xfc
je 0x43f33b
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43f270
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00440f90
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.0043e750
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43f2b2
lea eax, [ebp - 0x10c]
push eax
call fcn.0043e750
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x447db0
push edi
call fcn.004410e0
add esp, 0x10
push edi
call fcn.0043e750
push dword [esi + 0x465c4c]
mov ebx, eax
call fcn.0043e750
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00439bd0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00440f90
push edi
push ebx
call fcn.00440fa0
push 0x447d90
push ebx
call fcn.00440fa0
push dword [esi + 0x465c4c]
push ebx
call fcn.00440fa0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00442e05
add esp, 0x2c
jmp 0x43f33b
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x465c4c]
push dword [esi]
call fcn.0043e750
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 - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0043ba44
pop edi
pop esi
pop ebx
leave
ret