joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40aded
mov al, byte [esp + 0x14]
test al, al
je 0x40aded
cmp al, 0x20
je 0x40ade5
cmp al, 9
jne 0x40ae30
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40addd
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40ae23
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40ae23
test ebx, ebx
je 0x40ae23
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40ae23
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40aef3
cmp byte [esp + 0x14], 0x5c
je 0x40aef3
test ebx, ebx
je 0x40ae23
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40ae23
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40ae23
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40ae86
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40aeca
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40aeab
cmp ebp, esi
jle 0x40aeab
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040d940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040d170
test eax, eax
je 0x40aee3
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040d940
jmp 0x40aeaf
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040ad80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x40b360
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x40b3e6
cmp al, 0x20
je 0x40b3d7
cmp al, 9
je 0x40b3d7
test edi, edi
jne 0x40b3de
mov edi, 1
mov edx, ecx
jmp 0x40b3de
cmp edi, 1
jne 0x40b3de
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40b3c2
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x40b455
test esi, esi
jne 0x40b42f
test ebx, ebx
je 0x40b455
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x40b455
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x40b455
push edx
push esi
push ebx
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x40b455
test esi, esi
jle 0x40b455
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x40b455
push esi
push edx
push eax
push ebx
call dword [0x42507c]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x40b470
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40b4dd
mov al, byte [esp + 0x14]
test al, al
je 0x40b4dd
cmp al, 0x20
je 0x40b4d5
cmp al, 9
jne 0x40b520
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40b4cd
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40b513
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40b513
test ebx, ebx
je 0x40b513
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40b513
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40b5e3
cmp byte [esp + 0x14], 0x5c
je 0x40b5e3
test ebx, ebx
je 0x40b513
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40b513
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40b513
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40b576
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40b5ba
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40b59b
cmp ebp, esi
jle 0x40b59b
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040da10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040d280
test eax, eax
je 0x40b5d3
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040da10
jmp 0x40b59f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040b470
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x40ba50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x40bad6
cmp al, 0x20
je 0x40bac7
cmp al, 9
je 0x40bac7
test edi, edi
jne 0x40bace
mov edi, 1
mov edx, ecx
jmp 0x40bace
cmp edi, 1
jne 0x40bace
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40bab2
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x40bb45
test esi, esi
jne 0x40bb1f
test ebx, ebx
je 0x40bb45
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x40bb45
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x40bb45
push edx
push esi
push ebx
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x40bb45
test esi, esi
jle 0x40bb45
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x40bb45
push esi
push edx
push eax
push ebx
call dword [0x42507c]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x40bb60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40bbcd
mov al, byte [esp + 0x14]
test al, al
je 0x40bbcd
cmp al, 0x20
je 0x40bbc5
cmp al, 9
jne 0x40bc10
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40bbbd
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40bc03
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40bc03
test ebx, ebx
je 0x40bc03
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40bc03
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40bcd3
cmp byte [esp + 0x14], 0x5c
je 0x40bcd3
test ebx, ebx
je 0x40bc03
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40bc03
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40bc03
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40bc66
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40bcaa
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40bc8b
cmp ebp, esi
jle 0x40bc8b
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040dae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040d390
test eax, eax
je 0x40bcc3
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040dae0
jmp 0x40bc8f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040bb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x40c140
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x40c1c6
cmp al, 0x20
je 0x40c1b7
cmp al, 9
je 0x40c1b7
test edi, edi
jne 0x40c1be
mov edi, 1
mov edx, ecx
jmp 0x40c1be
cmp edi, 1
jne 0x40c1be
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40c1a2
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x40c235
test esi, esi
jne 0x40c20f
test ebx, ebx
je 0x40c235
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x40c235
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x40c235
push edx
push esi
push ebx
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x40c235
test esi, esi
jle 0x40c235
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x40c235
push esi
push edx
push eax
push ebx
call dword [0x42507c]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x40c250
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40c2bd
mov al, byte [esp + 0x14]
test al, al
je 0x40c2bd
cmp al, 0x20
je 0x40c2b5
cmp al, 9
jne 0x40c300
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40c2ad
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40c2f3
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40c2f3
test ebx, ebx
je 0x40c2f3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40c2f3
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40c3c3
cmp byte [esp + 0x14], 0x5c
je 0x40c3c3
test ebx, ebx
je 0x40c2f3
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40c2f3
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40c2f3
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40c356
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40c39a
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40c37b
cmp ebp, esi
jle 0x40c37b
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040dbb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040d4a0
test eax, eax
je 0x40c3b3
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040dbb0
jmp 0x40c37f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c250
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x40c830
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40c89d
mov al, byte [esp + 0x14]
test al, al
je 0x40c89d
cmp al, 0x20
je 0x40c895
cmp al, 9
jne 0x40c8e0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40c88d
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40c8d3
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40c8d3
test ebx, ebx
je 0x40c8d3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40c8d3
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40c9a3
cmp byte [esp + 0x14], 0x5c
je 0x40c9a3
test ebx, ebx
je 0x40c8d3
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40c8d3
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40c8d3
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40c936
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40c97a
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40c95b
cmp ebp, esi
jle 0x40c95b
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040dc80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040d6f0
test eax, eax
je 0x40c993
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040dc80
jmp 0x40c95f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040c830
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc

Function at 0x40df90
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x425074]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x40e650
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x40e6bd
mov al, byte [esp + 0x14]
test al, al
je 0x40e6bd
cmp al, 0x20
je 0x40e6b5
cmp al, 9
jne 0x40e700
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40e6ad
mov esi, dword [esp + 0x120]
test esi, esi
je 0x40e6f3
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x40e6f3
test ebx, ebx
je 0x40e6f3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x40e6f3
push ebx
push edx
push esi
call dword [0x425080]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call fcn.004153e3
add esp, 8
test eax, eax
jne 0x40e7c3
cmp byte [esp + 0x14], 0x5c
je 0x40e7c3
test ebx, ebx
je 0x40e6f3
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40e6f3
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x40e6f3
push 0x5c
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
jne 0x40e756
push 0x2f
push ebx
call fcn.0041547a
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x40e79a
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x40e77b
cmp ebp, esi
jle 0x40e77b
push esi
push ebx
push ebp
push edi
call dword [0x42507c]
add esp, 0x10
mov byte [esi + edi], 0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0040eba0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
push ebp
push ebx
mov ecx, esi
call fcn.0040eaf0
test eax, eax
je 0x40e7b3
push ebx
push ebp
push edi
call dword [0x425080]
add esp, 0xc
push 0x425888
push ebp
push edi
mov ecx, esi
call fcn.0040eba0
jmp 0x40e77f
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040e650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x411180
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [sym.imp.WSOCK32.dll_ntohl]
push esi
mov esi, dword [esp + 0x20]
push edi
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [esi + 4]
mov edi, eax
push ecx
call ebp
mov esi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
lea ebx, [esp + 0x10]
sub eax, edx
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], eax
jmp 0x4111c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebx]
push eax
call ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
add ebx, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x4111bc
mov ecx, dword [esp + 0x14]
mov eax, 0xe3779b90
mov dword [esp + 0x24], 0x10
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, edi
shr edx, 5
add edx, ebx
mov ebx, edi
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x10]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
mov ebx, esi
shr edx, 5
shl ebx, 4
add edx, ecx
add ebx, ebp
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add eax, 0x61c88647
sub edi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x4111e7
push edi
mov edi, dword [sym.imp.WSOCK32.dll_htonl]
call edi
mov ebx, dword [esp + 0x2c]
push esi
mov dword [ebx], eax
call edi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x411ac0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1764
call fcn.00414f00
push ebx
push ebp
push esi
xor ebx, ebx
push str.Configinfo.ini
push ebx
push str.HXLogLevel
push str.Public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, dword [0x4259bc]
mov ebp, 0x422314
push ebx
lea ecx, [esp + 0x10]
mov dword [0x425070], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00411cc0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x411b2a
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x20]
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x10], ecx
je 0x411b69
mov edx, dword [ecx]
push ebx
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x411b69
mov eax, dword [ecx]
push str.QQAVA
call dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x28]
test eax, eax
jne 0x411b69
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
cmp ecx, ebx
je 0x411b5b
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1764
ret 0x10
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call sub.gdiplus.dll_GdiplusStartup
lea ecx, [esp + 0x48]
call fcn.00401390
mov eax, dword [esp + 0x177c]
push 0x3ff
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00414e00
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x473], bl
call fcn.00401890
lea ecx, [esp + 0x48]
call fcn.00402390
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x411bd7
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
rep stosd dword es:[edi], eax
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
call esi
test eax, eax
je 0x411c3f
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
call edi
test eax, eax
jne 0x411c2c
lea eax, [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
call esi
test eax, eax
jne 0x411c09
mov ebp, 0x422314
mov ecx, dword [esp + 0x14]
pop edi
cmp ecx, ebx
je 0x411c4d
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x50]
call fcn.004016e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
cmp ecx, ebx
je 0x411c6c
mov edx, dword [ecx]
push ebx
call dword [edx + 8]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1764
ret 0x10
Function at 0x411f10
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x425074]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret