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

Disassembly:
push 0xffffffffffffffff
push 0x4b6be6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor esi, esi
push eax
mov dword [esp + 0x28], esi
call fcn.0041d460
mov ecx, dword [esp + 0x15c]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov dword [esp + 0x154], esi
call fcn.0041f940
add esp, 0x10
mov eax, dword [esp + 0x18]
mov byte [esp + 0x144], 2
cmp eax, esi
je 0x41d7a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d7a0
cmp al, 0xff
je 0x41d7a0
dec al
mov byte [ecx], al
jmp 0x41d7a9
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jne 0x41d7d7
mov eax, 0x4b9360
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x154]
push eax
lea eax, [esp + 0x3c]
push 0x104
push eax
mov eax, dword [esp + 0x15c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, dword [esp + 0x14c]
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x38]
xor eax, eax
mov byte [ebp], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
call fcn.00407eb0
test al, al
je 0x41d858
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0x41d87c
mov al, byte [ecx - 1]
test al, al
je 0x41d872
cmp al, 0xff
je 0x41d872
dec al
mov byte [ecx - 1], al
jmp 0x41d87c
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x41d8a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b6bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea eax, [esp + 0x10]
push eax
call fcn.0041d460
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov dword [esp + 0x38], 0
call fcn.0041f940
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x41d902
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d8f9
cmp al, 0xff
je 0x41d8f9
dec al
mov byte [ecx], al
jmp 0x41d902
push ecx
call fcn.004a5c41
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
jne 0x41d90f
mov eax, 0x4b9360
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push esi
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 8]
mov esi, eax
test ecx, ecx
je 0x41d95c
mov al, byte [ecx - 1]
test al, al
je 0x41d952
cmp al, 0xff
je 0x41d952
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x41dcf0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6c81
push eax
mov eax, 0x1034
mov dword fs:[0], esp
call fcn.004a6460
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.0041d460
mov ecx, dword [esp + 0x104c]
lea edx, [esp + 0x1c]
push ecx
xor ebx, ebx
push eax
push edx
mov dword [esp + 0x1050], ebx
call fcn.0041f940
add esp, 0x10
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1044], 2
call fcn.004061f0
mov al, byte [0x4ce018]
test al, 1
jne 0x41dd88
mov dl, al
mov al, byte [esp + 7]
or dl, 1
push 0x41dec0
mov byte [0x4ce018], dl
mov byte [0x4ce008], al
mov dword [0x4ce00c], ebx
mov dword [0x4ce010], ebx
mov dword [0x4ce014], ebx
call fcn.004a6be3
add esp, 4
mov ecx, dword [0x4ce00c]
mov eax, dword [0x4ce010]
push esi
push ecx
push eax
push eax
call fcn.0041fa70
mov edx, dword [0x4ce010]
add esp, 0xc
mov esi, eax
mov ecx, 0x4ce008
push edx
push esi
call fcn.0041f630
mov eax, dword [esp + 0x20]
mov dword [0x4ce010], esi
cmp eax, ebx
jne 0x41ddc6
mov eax, 0x4b9360
push eax
lea eax, [esp + 0x40]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [esp + 0x3c]
lea esi, [esp + 0x3c]
cmp al, bl
je 0x41de7d
push edi
mov cl, byte [esp + 0xf]
mov edi, esi
mov byte [esp + 0x10], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
push ecx
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.00405fe0
mov eax, dword [0x4ce010]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, 0x4ce008
mov byte [esp + 0x1054], 3
call fcn.0041f680
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1048], 2
cmp eax, ebx
je 0x41de5f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41de56
cmp al, 0xff
je 0x41de56
dec al
mov byte [ecx], al
jmp 0x41de5f
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [0x4ce010]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
add esi, dword [ecx - 8]
cmp byte [esi], bl
jne 0x41dde8
pop edi
mov ecx, dword [esp + 0x20]
pop esi
cmp ecx, ebx
je 0x41dea2
mov al, byte [ecx - 1]
cmp al, bl
je 0x41de98
cmp al, 0xff
je 0x41de98
dec al
mov byte [ecx - 1], al
jmp 0x41dea2
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x1038]
mov eax, 0x4ce008
pop ebx
mov dword fs:[0], ecx
add esp, 0x1040
ret
Function at 0x425890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
mov ecx, ebx
mov dword [esp + 0x14], ebx
call dword [eax + 4]
lea ecx, [esp + 0x30]
lea edi, [esi + 0x58]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004266f0
mov eax, dword [eax]
mov edi, dword [edi + 4]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x4258f6
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x4258f6
lea eax, [esp + 0xc]
jmp 0x4258fe
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esi + 0x5c]
cmp eax, ecx
jne 0x425918
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 8]
jmp 0x425987
mov esi, dword [eax + 0x10]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x425978
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00421860
test eax, eax
je 0x425978
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x425950
push esi
call fcn.00429ae0
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 8]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c

Function at 0x426d90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x426da0
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x426db8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x426e90
push 0
push 0
call fcn.004a70eb
add esp, 0x18
mov dword [esi + 8], eax
pop esi
pop ecx
ret

Function at 0x426de0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x426e5a
mov eax, dword [esi + 4]
test eax, eax
je 0x426e5a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x426e13
xor ebx, ebx
pop esi
mov eax, ebx
pop ebx
ret
test eax, eax
je 0x426e2e
cmp eax, 0x102
jne 0x426e55
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x426e0c
mov edx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov ebx, 1
call edi
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
push eax
call edi
mov dword [esi + 8], 0
pop edi
mov eax, ebx
pop esi
pop ebx
ret
pop esi
mov eax, 1
pop ebx
ret
Function at 0x427230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b74d8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
test eax, eax
je 0x42726a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x427288
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov esi, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x10]
mov al, byte [esi]
mov byte [esp + 0x10], al
call fcn.004061f0
mov ecx, dword [0x4b9364]
push ecx
push 0
push esi
lea ecx, [esp + 0x18]
call fcn.00405de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
test eax, eax
je 0x427394
lea ecx, [esp + 0xc]
call fcn.00406170
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x4272dd
xor edx, edx
jmp 0x4272e0
lea edx, [ecx + eax]
cmp byte [edx - 1], 0x5c
je 0x42732d
mov edx, dword [0x4b9364]
sub edx, ecx
cmp edx, 1
ja 0x4272fc
call fcn.004a5c4c
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 1]
push 0
push esi
lea ecx, [esp + 0x14]
call fcn.00407eb0
test al, al
mov eax, dword [esp + 0x10]
je 0x42732d
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], 0x5c
mov edx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x14], esi
mov byte [edx + esi], 0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x427336
mov eax, 0x4b9360
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x427346
test al, 0x10
jne 0x427394
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x42737e
mov al, byte [ecx - 1]
test al, al
je 0x427374
cmp al, 0xff
je 0x427374
dec al
pop edi
mov byte [ecx - 1], al
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov eax, dword [0x4b9364]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
lea ecx, [edi + 4]
call fcn.00405de0
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x14], ebx
test ecx, ecx
je 0x4273d0
mov al, byte [ecx - 1]
test al, al
je 0x4273c6
cmp al, 0xff
je 0x4273c6
dec al
mov byte [ecx - 1], al
jmp 0x4273d0
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x4274c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4274d2
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, esi
call fcn.00427520
test eax, eax
jne 0x4274ea
cmp dword [esi + 0x18], 0xffffffff
jne 0x4274ea
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push 0
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 4]
pop esi
neg eax
sbb eax, eax
and eax, ecx
pop ecx
ret 8
Function at 0x42a480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x18], edi
call dword [eax + 0xc]
lea ecx, [esp + 0x30]
lea ebx, [esi + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x30], 0
call fcn.0042b0c0
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x42a4e7
mov edx, dword [esp + 0x30]
mov ebp, dword [eax + 0xc]
cmp edx, ebp
jb 0x42a4e7
lea eax, [esp + 0x10]
jmp 0x42a4ef
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov ebp, dword [eax]
mov eax, dword [esi + 0x10]
cmp ebp, eax
je 0x42a52e
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x42a515
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, edi
call fcn.00429c80
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x18]
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, ebx
call fcn.0042aa20
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 8]
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x42a620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b787f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
mov ecx, esi
mov dword [esp + 0x14], esi
call dword [eax + 4]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
mov ebp, 1
push ecx
push edx
lea ecx, [edi + 0xc]
mov dword [esp + 0x2c], ebp
call fcn.0042b070
mov eax, dword [eax]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jne 0x42a694
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0xffffffff
mov dword [edi], 0x4b9368
jmp 0x42a6d3
mov eax, dword [eax + 0x10]
cmp eax, ebx
jne 0x42a6c3
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x10], ebp
mov byte [esp + 0x24], bl
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0xffffffff
mov dword [edi], 0x4b9368
mov edx, dword [esi]
call dword [edx + 8]
jmp 0x42a6de
mov edi, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00429a50
mov dword [esp + 0x10], ebp
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x24], bl
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x42eeed
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7dc0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
mov al, byte [ebx + 1]
cmp al, 0x8d
jne 0x42ef13
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
cmp al, 0x26
jne 0x42f0b3
cmp dword [esp + 0x4c], 0x32
jne 0x42f0cb
cmp word [ebx + 0x2c], 4
jne 0x42f0cb
mov eax, dword [ebx + 0x2e]
push ebp
push edi
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
mov al, byte [esp + 0x54]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.004061f0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.00407eb0
test al, al
je 0x42ef8e
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00407e90
mov eax, dword [ebx + 0x2e]
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x50], 0
call fcn.0040f3a0
add esp, 8
mov eax, dword [esp + 0x28]
pop edi
test eax, eax
mov byte [esp + 0x44], 1
pop ebp
jne 0x42f00d
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x42f00d
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42efcb
mov eax, 0x4b9360
push eax
push str.warning:_relay_client_exist:__s
call fcn.0042feb0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.0042b870
push 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004061f0
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42f01a
mov eax, 0x4b9360
push eax
push str.relay_client_attempt:__s
call fcn.0042feb0
mov eax, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x42f035
mov eax, 0x4b9360
push eax
call fcn.0041ed50
add esp, 4
test eax, eax
jne 0x42f05d
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42f04f
mov eax, 0x4b9360
push eax
push str.error:_relay_client_error:__s
call fcn.0042feb0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.0042b870
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42f0cb
mov al, byte [ecx - 1]
test al, al
je 0x42f096
cmp al, 0xff
je 0x42f096
dec al
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
dec ecx
push ecx
call fcn.004a5c41
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
cmp al, 0x24
jne 0x42f0cb
cmp dword [esp + 0x4c], 0x30
jne 0x42f0cb
cmp dword [ebx + 0x2c], 1
jne 0x42f0cb
mov ecx, esi
call fcn.0042ed50
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x430320
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
mov dword [0x6ceec0], eax
push esi
push 0
push eax
push 0
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x6cee5c
push 0x6cedf8
push 0
call esi
test eax, eax
mov dword [0x6cef34], eax
jne 0x430369
pop esi
add esp, 0x10
ret
xor ecx, ecx
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x6ceec0]
mov ecx, dword [0x6cef34]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x14]
push 0
push ecx
push edx
push eax
push 0
push 0
push 0x50300100
push 0x4c3e28
push str.ListBox
push 0
call esi
test eax, eax
mov dword [0x6cef38], eax
jne 0x4303cb
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6cef34]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x6cef34]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x6cef34]
push 0
push 0xbb8
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x6cef34]
push 0
push 0x8004
push 0x111
push edx
mov dword [0x6cef40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00430170
call fcn.00430170
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x458020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0x38]
mov esi, dword [eax + 0x54]
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 0x3c]
xor ebx, ebx
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004581f0
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x4581df
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x458067
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
cmp ecx, 3
je 0x4581a6
cmp ecx, 4
je 0x4581a6
inc eax
lea ecx, [esp + 0x10]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov eax, dword [esp + 0x3c]
push ebx
push ecx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call dword [ebp + 0x164]
add esp, 0xc
cmp eax, ebx
jne 0x4581e1
mov eax, dword [esp + 0x10]
mov ecx, 6
lea edi, [esp + 0x20]
push 0x1e
mov edx, dword [eax + 0x50]
or edx, 2
mov dword [eax + 0x50], edx
xor eax, eax
rep stosd dword es:[edi], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0x4c]
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x4581cf
mov eax, dword [esp + 0x10]
push 0x13
lea edx, [esp + 0x1c]
mov ecx, dword [eax + 0x50]
or ecx, 4
mov dword [eax + 0x50], ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call dword [eax + 0x4c]
add esp, 0x10
test eax, eax
jne 0x45814a
cmp dword [esp + 0x24], 4
jb 0x45812f
mov eax, dword [esp + 0x20]
cmp dword [eax], 0xb
jne 0x45812f
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xf0], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xf4], edx
lea eax, [esp + 0x20]
push 0x13
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [eax + 0x4c]
add esp, 0x10
test eax, eax
je 0x45810b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x50]
and ecx, 0xfffffffb
mov dword [eax + 0x50], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x74], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x78], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x54]
mov ecx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
add ecx, eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x64], eax
jmp 0x4581b3
inc eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
test byte [ebp + 0x20], 4
je 0x4581cf
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
push ecx
push edx
push str.Finding_last_valid_log_LSN:_file:__lu_offset__lu
push ebp
call fcn.0043eea0
add esp, 0x10
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4581df
push ebx
push eax
call dword [eax + 0x48]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret