joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c0f0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, 1
cmp dword [0x101961a8], ebx
jne 0x1003c12b
mov eax, dword [0x1012d384]
cmp eax, dword [0x101961b4]
jl 0x1003c12b
push 0x1009e714
call fcn.10008090
add esp, 4
mov dword [0x1011d17c], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x101961ac], ebx
jne 0x1003c152
mov eax, dword [0x101961b8]
cdq
cmp dword [0x1012d2a4], edx
jl 0x1003c152
jg 0x1003c14b
cmp dword [0x1012d2a0], eax
jb 0x1003c152
push 0x1009e6f0
jmp 0x1003c114
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x101961a4], ebx
jne 0x1003c1b8
mov eax, dword [0x11f5ae0]
cmp dword [eax + 0x30], 0xffffffff
je 0x1003c17b
cmp byte [0x1012d410], bl
jne 0x1003c192
push 0x1009e6e4
call fcn.10008090
mov ecx, dword [0x100fe7b4]
add esp, 4
push ebx
push ecx
call esi
call edi
sub eax, dword [0x1012d22c]
cmp eax, 0x1d4c0
jb 0x1003c1b8
push 0x1009e6e4
call fcn.10008090
mov edx, dword [0x100fe7b4]
add esp, 4
push ebx
push edx
call esi
cmp dword [0x101961a0], ebx
jne 0x1003c231
cmp byte [0x1012d3ff], bl
jne 0x1003c1dd
mov byte [0x1012d3ff], 0
call edi
pop edi
pop esi
mov dword [0x1011d204], eax
pop ebx
mov esp, ebp
pop ebp
ret
call edi
mov ecx, eax
sub ecx, dword [0x1011d204]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 4], edx
fild dword [ebp - 4]
test edx, edx
jns 0x1003c20b
fadd dword [0x1009e6e0]
fild dword [0x101961b0]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1003c231
push 0x1009e6e4
call fcn.10008090
mov edx, dword [0x100fe7b4]
add esp, 4
push ebx
push edx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003efd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1012d417], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jne 0x1003f1a6
push ebx
push eax
push 0xbb8
push esi
push 0x10092e4c
push str.qhlb
mov byte [0x1011b6a8], 0
push str.config
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1009e908
push esi
call ebx
mov esi, eax
add esp, 8
mov dword [ebp - 0x198], esi
test esi, esi
je 0x1003f1a5
push edi
jmp 0x1003f048
mov esi, dword [ebp - 0x198]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f050
sub eax, edx
push 0x1009e968
push esi
mov dword [ebp - 0x19c], eax
xor edi, edi
call ebx
add esp, 8
test eax, eax
je 0x1003f181
lea esi, [ebp - 0x194]
lea ebx, [ebx]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1003f084
push 0x1009e968
push 0
inc edi
add esi, 0x32
call ebx
add esp, 8
test eax, eax
jne 0x1003f080
cmp edi, 8
jne 0x1003f17b
movzx edx, byte [0x1011b6a8]
lea ecx, [ebp - 0x194]
lea edx, [edx*4 + 0x1011aed8]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1003f0c0
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x162]
push eax
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0x130]
push edx
mov byte [ecx + 0x1011b658], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0xfe]
push edx
mov byte [ecx + 0x1011afa0], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0xcc]
push edx
mov byte [ecx + 0x1011af78], al
call esi
movzx ecx, byte [0x1011b6a8]
lea edx, [ebp - 0x9a]
push edx
mov byte [ecx + 0x1011aff0], al
call esi
movzx ecx, byte [0x1011b6a8]
mov byte [ecx + 0x1011afc8], al
movzx eax, byte [0x1011b6a8]
lea edx, [eax + eax*4]
add esp, 0x14
lea ecx, [ebp - 0x68]
lea edx, [edx*4 + 0x1011b018]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1003f155
lea edx, [ebp - 0x36]
push edx
call esi
movzx ecx, byte [0x1011b6a8]
add esp, 4
mov byte [ecx + 0x1011b680], al
inc byte [0x1011b6a8]
mov esi, dword [ebp - 0x198]
mov edx, dword [ebp - 0x19c]
lea eax, [edx + esi + 1]
push 0x1009e908
push eax
call ebx
add esp, 8
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x1003f042
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x1003f1c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, 0x101a1df4
call fcn.10001060
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0xbb8
push esi
push 0x10092e4c
push str.ZYWP
push str.config
mov byte [esi], 0
call ebx
push 0x1009e908
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
call esi
add esp, 8
test eax, eax
je 0x1003f24b
lea esp, [esp]
push eax
mov ecx, 0x101a1df4
call fcn.10001160
push 0x1009e908
push 0
call esi
add esp, 8
test eax, eax
jne 0x1003f230
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D38CHECK1
push str.config
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x1019ccf8], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D38CHECK3
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D38EDIT2
push str.config
mov dword [0x1019ccfc], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D38EDIT3
push str.config
mov dword [0x1019ccf4], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll__atoi64]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov dword [0x1019cd00], eax
mov dword [0x1019cd04], edx
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x1003f5e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D7CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956bc], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D7CHECK2
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D7CHECK3
push str.config
mov dword [0x101956c0], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D7CHECK4
push str.config
mov dword [0x101956c4], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956d0], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D7CHECK5
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
mov dword [0x101956dc], eax
push edx
push 0x10094b60
push str.D7CHECK6
push str.config
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D7EDIT1
push str.config
mov dword [0x1019588c], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101956c8], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D7EDIT2
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D7EDIT3
push str.config
mov dword [0x101956cc], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D7EDIT4
push str.config
mov dword [0x101956d4], eax
call edi
lea edx, [ebp - 0x68]
push edx
mov ecx, 0x101956e0
call sub.mfc100.dll_Ordinal_12868
push esi
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D7COMBO1
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D7COMBO2
push str.config
mov dword [0x101956d8], eax
call edi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x10195890
call sub.mfc100.dll_Ordinal_12868
push 0
mov ecx, 0x10195628
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x1003f800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D13CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10199550], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D13CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D13CHECK4
push str.config
mov dword [0x10199424], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D13COMBO3
push str.config
mov dword [0x10199428], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push 0
mov ecx, 0x10199390
mov dword [0x1019954c], eax
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x10045aa0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1006e640
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10194088
call sub.mfc100.dll_Ordinal_6969
push 0x32
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, 0x10194134
call sub.mfc100.dll_Ordinal_6969
lea edx, [ebp - 0x38]
push edx
push 0x1009ed70
push 0x1012d4d8
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, 1
add esp, 0xc
cmp dword [0x101971b0], edi
jne 0x10045b07
lea eax, [ebp - 0x38]
push eax
jmp 0x10045c00
push 0x1012d4d8
call fcn.10006c70
add esp, 4
test eax, eax
je 0x10045b28
push edi
push 0x1012d4d8
call fcn.10006ac0
jmp 0x10045c0b
mov ecx, 0x1009ed68
lea eax, [ebp - 0x6c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10045b50
test dl, dl
je 0x10045b4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10045b50
add eax, 2
add ecx, 2
test dl, dl
jne 0x10045b30
xor eax, eax
jmp 0x10045b55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10045bea
mov esi, dword [0x35f30a4]
push ebx
xor ebx, ebx
xor edi, edi
call fcn.10006a90
test eax, eax
je 0x10045bbf
add esi, 0x53c
mov eax, dword [esi]
test eax, eax
je 0x10045bae
lea ecx, [eax + 0x64]
mov eax, 0x1009d65c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10045ba5
test dl, dl
je 0x10045ba1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10045ba5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10045b85
xor eax, eax
jmp 0x10045baa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10045bbd
inc edi
add esi, 4
call fcn.10006a90
cmp edi, eax
jb 0x10045b77
jmp 0x10045bbf
mov ebx, edi
mov ecx, dword [0x10194154]
push ebx
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add eax, 9
push eax
call fcn.10039600
add esp, 8
mov edi, 1
pop ebx
jmp 0x10045c0e
push edi
push 0x100943ec
call fcn.10006ac0
add esp, 8
test al, al
jne 0x10045c0e
lea edx, [ebp - 0x38]
push edx
call fcn.10007900
push eax
call fcn.1003ab60
add esp, 8
cmp dword [0x10190e2c], edi
jne 0x10045ca3
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x110], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, 2
cmp dword [ebp - 0x100], esi
jne 0x10045c99
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x114]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x11c]
push edx
push str.SeShutdownPrivilege
push 0
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
push 0
push 0
push 0
lea edx, [ebp - 0x7c]
push edx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x10046fa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101b8cd0]
cmp eax, 0x64
ja 0x10046fd8
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push ebx
push edi
call esi
mov dword [0x101b8cd0], eax
xor eax, eax
mov ecx, 0x46
mov edi, 0x101a4960
rep stosd dword es:[edi], eax
mov eax, dword [0x35f30a0]
xor edi, edi
mov byte [ebp - 0x25d], 0
lea ebx, [eax + 0x53c]
mov dword [ebp - 0x264], edi
lea esp, [esp]
cmp dword [edi*4 + 0x1011cd30], 1
jne 0x1004717d
mov al, byte [ebp + 8]
cmp al, 1
jne 0x100470bb
mov esi, dword [ebx]
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x10047079
lea edx, [ebp - 0x68]
push edx
push esi
call fcn.1000d0d0
lea eax, [ebp - 0x68]
push eax
add esi, 0x64
push esi
lea ecx, [ebp - 0x194]
push 0x1009561c
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011bcf8]
mov ecx, esi
lea eax, [ebp - 0x194]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047150
test dl, dl
je 0x100470b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047150
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047090
xor eax, eax
jmp 0x10047155
test al, al
jne 0x1004717d
mov esi, dword [ebx]
push 0xc8
lea edx, [ebp - 0x25c]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0x64
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x18
test esi, esi
jle 0x1004711c
lea ecx, [ebp - 0xcc]
push ecx
push esi
call fcn.1000d0d0
lea edx, [ebp - 0xcc]
push edx
add esi, 0x64
push esi
lea eax, [ebp - 0x25c]
push 0x1009561c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
mov esi, dword [ebp - 0x264]
lea esi, [esi + 0x1011b780]
mov ecx, esi
lea eax, [ebp - 0x25c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047150
test dl, dl
je 0x1004714c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047150
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047130
xor eax, eax
jmp 0x10047155
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1004717d
push esi
call fcn.10046ec0
add esp, 4
test eax, eax
js 0x1004717d
push 1
push 1
push 0
push edi
push eax
call fcn.10039bc0
mov byte [ebp - 0x25d], 1
add esp, 0x14
add dword [ebp - 0x264], 0x64
inc edi
add ebx, 4
cmp edi, 0xe
jl 0x10047010
cmp byte [ebp - 0x25d], 1
mov ecx, dword [ebp - 4]
pop edi
sete al
pop ebx
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x100471b0
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10047219
mov eax, dword [ebp - 0x1b0]
cmp al, 1
jne 0x1004735c
shr eax, 8
cmp al, 1
jne 0x1004735c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x1004722c
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
mov ecx, 2
push edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10047290
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047274
sub eax, edx
push 0
add eax, 4
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x100472b1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1b4]
cmp eax, 0x3a980
jb 0x100472f3
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 0
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, 0x1009ca58
lea eax, [ebp - 0x10]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047330
test dl, dl
je 0x1004732c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047330
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047310
xor eax, eax
jmp 0x10047335
sbb eax, eax
sbb eax, 0xffffffff
push edi
test eax, eax
jne 0x100472d1
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 0xfffffffe
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x10052ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
mov dword [ebp - 0x6c], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x1009ca58
push str.D5CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D5CHECK2
push str.config
mov dword [0x10194ba8], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10194878], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D5CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D5CHECK4
push str.config
mov dword [0x1019487c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D5RADI01
push str.config
mov dword [0x10194ba4], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
mov ebx, dword [ebp - 0x6c]
push 0xbb8
mov dword [0x10194874], eax
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0x10
push esi
push 0xbb8
push ebx
push 0x10092e4c
push str.D5LIST1
push str.config
call edi
mov eax, dword [0x1019494c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x184
push eax
call esi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x1009e968
push ebx
call edi
add esp, 8
test eax, eax
je 0x10052d11
lea ebx, [ebx]
mov ecx, dword [0x1019494c]
push eax
push 0
push 0x180
push ecx
call esi
push 0x1009e968
push 0
call edi
add esp, 8
test eax, eax
jne 0x10052cf0
mov edx, dword [0x10194800]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x10052d32
push 0
mov ecx, 0x101947e0
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10199d00
call fcn.10015a10
mov ecx, 0x10199d00
call fcn.100155e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x10055800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push str..ini
push esi
call dword [sym.imp.MSVCR100.dll_strstr]
push 0x64
test eax, eax
lea ecx, [ebp - 0x68]
setne al
push 0
push ecx
mov byte [0x1012d417], al
call sub.MSVCR100.dll_memset
push 0x14c08
call sub.mfc100.dll_Ordinal_265
mov edi, eax
push edi
push esi
call fcn.10050270
push edi
push esi
call fcn.10050d70
push edi
push esi
call fcn.10051bb0
push edi
push esi
call fcn.10052200
push edi
push esi
call fcn.10052ba0
add esp, 0x40
push edi
push esi
call fcn.10053160
push edi
push esi
call fcn.1003f5e0
push edi
push esi
call fcn.10053c00
push edi
push esi
call fcn.100540a0
push edi
push esi
call fcn.100545d0
push edi
push esi
call fcn.1003f310
push edi
push esi
call fcn.10052d60
push edi
push esi
call fcn.1003f1c0
add esp, 0x40
push edi
push esi
call fcn.1003efd0
push edi
push esi
call fcn.10053480
push edi
push esi
call fcn.10054840
push edi
push esi
call fcn.1003f800
push edi
push esi
call fcn.10054d00
add esp, 0x28
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D12CHECK1
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
push edi
mov dword [0x10199274], eax
call sub.mfc100.dll_Ordinal_1296
add esp, 8
push 0
mov ecx, 0x10195948
call sub.mfc100.dll_Ordinal_13219
push 0
mov ecx, 0x101990f8
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret