joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50e8f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
mov ebp, dword [esi]
mov eax, dword [ebp + 0x20]
and eax, 0x4000
or eax, 0
je 0x50eaad
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b], 0
jne 0x50eaad
push ebx
push edi
mov edi, dword [esi + 8]
xor ebx, ebx
test edi, edi
jne 0x50e940
cmp dword [esi + 0x74], ebx
jne 0x50e931
test byte [ebp + 0x50], 8
jne 0x50e931
mov byte [esi + 0x17], 1
push esi
call fcn.0052ee00
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
push 0
push dword [eax]
add ecx, 0x38
push ecx
call fcn.004cd880
add esp, 0xc
cmp dword [eax + 8], ebx
jne 0x50e9d4
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x50eaab
cmp byte [ecx + 0x18], bl
jne 0x50e985
mov eax, dword [ebp + 0x20]
and eax, 0x80000
or eax, 0
jne 0x50e985
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x50e967
pop edi
pop ebx
pop esi
pop ebp
ret
dec dword [esi + 0x38]
mov ecx, dword [edi + 0x74]
mov ebx, dword [esi + 0x38]
cmp dword [edi + 0x78], ecx
jg 0x50e9a5
push 0
push ebx
push 1
push 0x30
push edi
call fcn.004e2e80
add esp, 0x14
jmp 0x50e9d4
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
mov byte [esi + 0x97], 1
push ebp
call fcn.00528cf0
add esp, 0xc
push eax
push esi
call fcn.00505500
mov byte [esi + 0x97], 0
add esp, 0x14
mov eax, dword [ebp + 0x20]
and eax, 0x80000
or eax, 0
jne 0x50ea81
mov eax, dword [edi + 0x74]
add eax, 2
push eax
push 0
push 0x30
push edi
call fcn.0052e380
mov ebp, dword [esi + 8]
add esp, 0x10
test ebp, ebp
jne 0x50ea45
cmp dword [esi + 0x74], ebp
jne 0x50ea3a
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x50ea3a
mov byte [esi + 0x17], 1
push esi
call fcn.0052ee00
add esp, 4
mov ebp, eax
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x50ea4e
mov eax, esi
push 0xffffffffffffffff
push 0
push 0
push 2
push 0x313
push 0x46
push ebp
mov byte [eax + 0x15], 1
call fcn.0052e440
mov eax, dword [ebp + 0x74]
add esp, 0x1c
test eax, eax
jle 0x50ea81
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [ebp + 0x70]
mov word [eax + ecx*4 - 0x12], dx
test ebx, ebx
je 0x50eaab
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x50eaa2
push ebx
push edi
push ecx
call fcn.004f4f20
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + ebx*4], eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x516950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
or edx, 0xffffffff
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov ebx, dword [ebx + 8]
test byte [esi + 0x1c], 0x80
jne 0x516970
xor edi, edi
jmp 0x516987
mov edi, dword [esi + 8]
test edi, edi
je 0x516987
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x516987
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x516977
mov esi, dword [esi + 8]
test esi, esi
je 0x516aaf
mov eax, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], eax
nop
cmp dword [esp + 0x2c], 0
je 0x5169b0
cmp dword [eax], 0
je 0x516a97
cmp esi, edi
je 0x516a97
cmp ebp, dword [esp + 0x30]
je 0x516a97
push edx
push ecx
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push dword [esp + 0x38]
push esi
push dword [esp + 0x38]
call fcn.00516360
add esp, 0x20
mov dword [esp + 0x20], eax
test byte [esi + 0x38], 8
je 0x5169ee
movzx edx, word [esi + 0x32]
jmp 0x5169f2
movzx edx, word [esi + 0x34]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x516a0d
push edx
push eax
push ebp
push 0x8b
push ebx
call fcn.004e2e80
add esp, 0x14
jmp 0x516a40
mov ebp, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x8b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x516a57
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x14]
test edx, edx
je 0x516a8d
mov eax, dword [esp + 0x1c]
not edx
mov ebp, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x516a80
push edx
push ebp
push ecx
call fcn.004f4f20
add esp, 0xc
jmp 0x516a89
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebp + 0x74]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x20]
mov esi, dword [esi + 0x14]
add eax, 4
inc ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebp
test esi, esi
jne 0x5169a0
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x529e90
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov dword [edi], 0
cmp dword [0x77f9b8], 0
je 0x529ee3
mov eax, dword [0x784970]
test eax, eax
je 0x529eb8
push eax
call dword [0x77fa08]
add esp, 4
lea eax, [esp + 0xc]
push eax
push 0x14
call fcn.004e8e00
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x529edd
push eax
call dword [0x77fa10]
mov esi, dword [esp + 0x10]
jmp 0x529eed
mov esi, dword [esp + 0xc]
jmp 0x529ef0
push 0x14
call dword [0x77f9d8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x529efa
pop edi
lea eax, [esi + 7]
pop esi
ret
cmp byte [0x77f9bc], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
je 0x529f49
mov eax, dword [0x77fab8]
test eax, eax
je 0x529f24
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x529f49
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x529fe0
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x529f59
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x529f71
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop ebp
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
ret
Function at 0x536bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
push edi
call fcn.004e1c90
mov ebx, dword [edi + 0x28]
xor eax, eax
movzx ecx, word [edi + 0x30]
xor ebp, ebp
mov esi, dword [edi + 0x2c]
add esp, 4
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x74]
mov dword [esp + 0x28], ebp
mov eax, dword [eax + 0x3c]
sub eax, ebx
cmp ecx, eax
jle 0x536c19
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
mov dword [esp + 0x20], ebx
cmp esi, ecx
ja 0x536c31
mov eax, 0x1010
mov dword [esp + 0x1c], esi
mov word [esp + 0x18], ax
jmp 0x536c56
lea eax, [esp + 0x10]
push eax
push esi
push 0
push edi
call fcn.005378b0
add esp, 0x10
test eax, eax
jne 0x536d37
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
movzx edi, byte [ebx]
mov dword [esp + 0x68], edi
cmp edi, 0x80
jb 0x536c77
lea eax, [esp + 0x68]
push eax
push ebx
call fcn.00517740
mov edi, dword [esp + 0x70]
add esp, 8
cmp edi, 3
jb 0x536cf9
cmp edi, esi
ja 0x536cf9
lea eax, [edi - 1]
add eax, ebx
movzx ecx, byte [eax]
mov dword [esp + 0x68], ecx
cmp ecx, 0x80
jb 0x536ca6
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.00517740
mov ecx, dword [esp + 0x70]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 8
ja 0x536cf9
cmp ecx, 7
je 0x536cf9
movzx edx, byte [ecx + 0x582b70]
lea eax, [edx + edi]
cmp esi, eax
jb 0x536cf9
lea eax, [esp + 0x38]
sub esi, edx
push eax
push ecx
add esi, ebx
push esi
call fcn.005395c0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00537e30
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test dword [esp + 0x18], 0x2400
jne 0x536d07
test ebp, ebp
je 0x536d14
lea eax, [esp + 0x10]
push eax
call fcn.00548e70
add esp, 4
push 0x58e774
push 0x14b3d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004b7420
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x54d280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov ecx, 0xc
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
push edi
cmp byte [ebx + 0x2b], 2
lea edi, [esp + 0x10]
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
je 0x54d2b1
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
add esp, 4
lea esi, [ebp + 0x30]
mov ecx, 0xc
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov esi, 0x2c
lea edx, [esp + 0x40]
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x54d381
add ecx, 4
add edx, 4
sub esi, 4
jae 0x54d2d0
cmp byte [esp + 0x1c], 0
je 0x54d381
xor edx, edx
lea ecx, [esp + 0x10]
xor esi, esi
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x38]
cmp ecx, eax
jb 0x54d2f8
cmp esi, dword [esp + 0x38]
jne 0x54d381
cmp edx, dword [esp + 0x3c]
jne 0x54d381
lea edi, [ebx + 0x34]
mov esi, 0x2c
mov ecx, edi
lea edx, [esp + 0x10]
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x54d34b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x54d330
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x78]
lea esi, [esp + 0x10]
mov ecx, 0xc
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebx + 0x42]
mov eax, ecx
and ecx, 0xfe00
and eax, 1
pop edi
shl eax, 0x10
pop esi
add eax, ecx
mov dword [ebx + 0x24], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret
Function at 0x55b7e4
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x784cd8], 0
push ebx
push esi
mov esi, 0x784ce0
jne 0x55b810
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x784cf8], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x784cd8], 1
push dword [0x784cf8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x55b8ad
push 0x14
push 8
push dword [0x7831a8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x55b8d7
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x784cdc]
test eax, eax
je 0x55b852
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x784cdc], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x55b8dc
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x784cf8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x7831a8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x55b8d7
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x55bdf4
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x7831a8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x7852dc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x7852e0], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.0055ea27
mov dword [esi + 0x58], 0x55ca07
mov eax, esi
mov dword [esi + 0x5c], 0x55ca53
mov dword [esi + 0x10], fcn.0055c5a8
mov dword [esi + 0x30], 0x55c49a
mov dword [esi + 0x64], 0x55cadd
mov dword [esi + 0x60], 0x55ca95
mov dword [esi + 0x34], 0x55c14a
mov dword [esi + 0x24], 0x55c121
mov dword [esi + 0x28], 0x55c0f6
mov dword [esi + 0x2c], 0x55c048
mov dword [esi + 0x44], 0x55c80d
pop esi
ret 4
Function at 0x561ccb
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x561d81
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x561d61
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x561d3c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x561d76
add edi, dword [esp + 0x14]
jmp 0x561d7a
add edi, dword [esp + 0x24]
test edx, edx
jne 0x561d1a
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x56208c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x562166
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x56213c
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x562104
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x562153
add edi, ecx
jmp 0x562157
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x5620da
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x562786
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x56283b
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x56281c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x5627f7
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x562831
add edx, dword [esp + 0x14]
jmp 0x562835
add edx, dword [esp + 0x24]
test esi, esi
jne 0x5627d5
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x4018c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x421280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4233a0]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add ebx, 0xb8
push ebx
mov esi, ecx
call edi
cmp eax, 1
jg 0x401918
mov eax, dword [0x4233b0]
add eax, 0x208
push eax
push 0x104
push ebx
push 0x41e848
push str.text
push str.HomePage
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call edi
mov ebx, dword [0x4233a0]
add ebx, 0xb8
push ebx
cmp eax, 1
jle 0x401982
call edi
cmp eax, 1
jg 0x40195b
mov eax, dword [0x4233b0]
add eax, 0x208
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
push ebx
push 0x41e848
push str.text
push str.HomePage
call eax
push 0
push dword [0x42339c]
push 0x8ff
push dword [esi]
push 0x14
push 0xc8
push 0x8c
push 0xb4
push 0x50010003
jmp 0x4019d5
call edi
cmp eax, 1
jg 0x4019b0
mov eax, dword [0x4233b0]
add eax, 0x208
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
push ebx
push 0x41e848
push str.text
push str.HomePage
call eax
push 0
push dword [0x42339c]
push 0x8ff
push dword [esi]
push 0x14
push 0xc8
push 0x8c
push 0xb4
push 0x40010003
push ebx
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
push str.Button
push 0
call ebx
push 0
push dword [0x42339c]
mov dword [esi + 0xc], eax
push 0xaf2
push dword [esi]
push 0x14
push 0x12c
push 0xaa
push 0xb4
push 0x50010003
push 0x41e848
push str.Button
push 0
call ebx
mov dword [esi + 8], eax
test eax, eax
je 0x401ad8
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x423398]
push 0x30
push eax
call ebx
push 1
push dword [0x423398]
push 0x30
push dword [esi + 0xc]
call ebx
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.00411080
add esp, 0xc
lea eax, [ebp - 0xcc]
push 0x41e944
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [0x4233a0]
push dword [ebx + 0x14]
call edi
test eax, eax
jne 0x401a96
mov eax, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41e9e8
push dword [ebx + 0x14]
call eax
push dword [ebx + 0x14]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xcc]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push dword [esi + 8]
call edi
push 0
push 1
push 0xf1
push dword [esi + 0xc]
call edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d13e
mov esp, ebp
pop ebp
ret
Function at 0x401dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401e21
mov ecx, dword [eax + 0x1b4]
mov esi, dword [eax + 0x1b8]
mov eax, dword [eax + 0x1bc]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x401dff
push 0
push ecx
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x401e08
push 0
push eax
call ebx
test esi, esi
je 0x401e21
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x41e94c
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x401e3e
mov ecx, edi
call fcn.00401b60
push 5
mov ecx, edi
call fcn.00401af0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x421280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
lea eax, [ebp - 0x34]
mov edi, ecx
push 0
push eax
call fcn.00411080
mov eax, dword [0x42339c]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401cb0
push 5
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], eax
push 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [0x42339c]
push 0
push dword [edi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x41e848
push esi
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
jne 0x401f03
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d13e
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00401be0
mov ecx, edi
call fcn.004018c0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0040d13e
mov esp, ebp
pop ebp
ret