joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4abf50
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x562890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004a8bb0
add esp, 4
movzx edx, al
test edx, edx
je 0x4abfe1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0050ca30
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4abfdf
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x4abfdf
jmp 0x4abfe1
jmp 0x4abf63
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050be32
mov esp, ebp
pop ebp
ret
Function at 0x4e0d10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4e0d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x4e0d67
mov edx, dword [0x578e38]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4e0d5b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4e0d40
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4e0d69
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4e5d00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b06a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x562890]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x14], 0x8000
mov dword [ebp - 0x10], 0x56524c
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x45]
push eax
push 0x8000
lea ecx, [ebp - 0x44]
call fcn.004bf920
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004e4840
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
call fcn.004e3230
push eax
push 0x8000
push 0
lea ecx, [ebp - 0x44]
call fcn.004bf980
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004e3230
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004e3230
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.004a06c0
push 0
lea ecx, [ebp - 0x44]
call fcn.004bf980
push eax
lea ecx, [ebp - 0x34]
call fcn.004a5330
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004ecd80
add esp, 8
movzx eax, al
test eax, eax
je 0x4e5e33
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.004e3530
mov edx, dword [ebp - 0xac]
or edx, 1
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004a53c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004bf960
mov eax, dword [ebp + 8]
jmp 0x4e5e83
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e93b0
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004a53c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004bf960
mov eax, dword [ebp + 8]
jmp 0x4e5e83
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0050be32
mov esp, ebp
pop ebp
ret
Function at 0x4e6520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b221
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x562890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004e3230
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4e65d6
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.004bf920
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004e3230
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov ecx, dword [ebp + 8]
call fcn.004a5330
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004bf960
mov eax, dword [ebp + 8]
jmp 0x4e65f5
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004a5380
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e69f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b311
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x562890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4e6a98
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.004bf920
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov ecx, dword [ebp + 8]
call fcn.004a5330
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004bf960
mov eax, dword [ebp + 8]
jmp 0x4e6ab3
mov ecx, dword [ebp + 8]
call fcn.004b8860
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e7470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b581
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x562890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.004bf920
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.004bf980
push eax
mov ecx, dword [ebp + 8]
call fcn.004a5330
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004bf960
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4fb160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x562890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsx eax, byte [0x579650]
test eax, eax
jne 0x4fb195
call fcn.004fb050
movzx ecx, byte [0x579649]
test ecx, ecx
jne 0x4fb24f
movzx edx, byte [0x579648]
test edx, edx
jne 0x4fb24f
cmp dword [0x579754], 0
je 0x4fb1f8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x579754]
push ecx
call fcn.004e6f30
add esp, 8
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x186
mov eax, dword [0x579754]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x579754]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4fb24f
push 0x579650
lea ecx, [ebp - 0x74]
call fcn.004e2a60
mov dword [ebp - 4], 0
push 0x10001
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e6d40
add esp, 0x10
xor edx, edx
cmp eax, 2
sete dl
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004a06c0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4fb24f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x505280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x50528f
mov eax, dword [eax + 4]
jmp 0x505292
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x50531b
push esi
mov esi, dword [0x579af0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x505300
cmp eax, 3
je 0x505300
cmp eax, 0x7b
je 0x505300
cmp eax, 0x57
je 0x505300
cmp eax, 0xa1
je 0x505300
cmp eax, 0x35
je 0x505300
cmp eax, 0x20
jne 0x5052f5
mov eax, dword [0x579af4]
mov dword [ecx], eax
mov edx, dword [0x579af8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x579af4]
mov dword [ecx], eax
mov edx, dword [0x579af8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x579af4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x579af8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x505348
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x505360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x50536f
mov eax, dword [eax + 4]
jmp 0x505372
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5053fb
push esi
mov esi, dword [0x579af0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x5053e0
cmp eax, 3
je 0x5053e0
cmp eax, 0x7b
je 0x5053e0
cmp eax, 0x57
je 0x5053e0
cmp eax, 0xa1
je 0x5053e0
cmp eax, 0x35
je 0x5053e0
cmp eax, 0x20
jne 0x5053d5
mov eax, dword [0x579af4]
mov dword [ecx], eax
mov edx, dword [0x579af8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x579af4]
mov dword [ecx], eax
mov edx, dword [0x579af8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x579af4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x579af8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x505428
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x50be32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x562890]
jne 0x50be3c
repz ret
jmp fcn.0051758c
Function at 0x517bef
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x563200]
je 0x517c0a
inc edi
cmp edi, 0x17
jb 0x517bfb
cmp edi, 0x17
jae 0x517d8a
push ebp
push 3
call fcn.005250ae
cmp eax, 1
pop ecx
je 0x517d56
push 3
call fcn.005250ae
test eax, eax
pop ecx
jne 0x517c3e
cmp dword [0x562950], 1
je 0x517d56
cmp ebx, 0xfc
je 0x517d89
push 0x56709c
mov ebx, 0x314
push ebx
mov ebp, 0x579f80
push ebp
call fcn.0050afda
add esp, 0xc
test eax, eax
je 0x517c74
push esi
push esi
push esi
push esi
push esi
call fcn.0050c70c
add esp, 0x14
push 0x104
mov esi, 0x579f99
push esi
push 0
mov byte [0x57a09d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x517cb8
push 0x567084
push 0x2fb
push esi
call fcn.0050afda
add esp, 0xc
test eax, eax
je 0x517cb8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0050c70c
add esp, 0x14
push esi
call fcn.0050b800
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x517cfd
push esi
call fcn.0050b800
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x57a294
push 0x567080
sub ecx, eax
push ecx
push eax
call fcn.0050be41
add esp, 0x14
test eax, eax
je 0x517cfd
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0050c70c
add esp, 0x14
jmp 0x517cff
xor esi, esi
push 0x5658f8
push ebx
push ebp
call fcn.0050af69
add esp, 0xc
test eax, eax
je 0x517d1f
push esi
push esi
push esi
push esi
push esi
call fcn.0050c70c
add esp, 0x14
push dword [edi*8 + 0x563204]
push ebx
push ebp
call fcn.0050af69
add esp, 0xc
test eax, eax
je 0x517d41
push esi
push esi
push esi
push esi
push esi
call fcn.0050c70c
add esp, 0x14
push 0x12010
push 0x567058
push ebp
call fcn.00524ef1
add esp, 0xc
jmp 0x517d89
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x517d89
cmp ebp, 0xffffffff
je 0x517d89
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x563204]
push dword [esi]
call fcn.0050b800
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x524ef1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00516dc7
xor ebx, ebx
cmp dword [0x57a62c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x524fc7
push 0x568888
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5250a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x56887c
push edi
call esi
cmp eax, ebx
je 0x5250a7
push eax
call fcn.00516d59
mov dword [esp], 0x56886c
push edi
mov dword [0x57a62c], eax
call esi
push eax
call fcn.00516d59
mov dword [esp], 0x568858
push edi
mov dword [0x57a630], eax
call esi
push eax
call fcn.00516d59
mov dword [0x57a634], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0051054f
test eax, eax
pop ecx
pop ecx
je 0x524f95
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0050c70c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x524fc7
push 0x56883c
push edi
call esi
push eax
call fcn.00516d59
cmp eax, ebx
pop ecx
mov dword [0x57a63c], eax
je 0x524fc7
push 0x568824
push edi
call esi
push eax
call fcn.00516d59
pop ecx
mov dword [0x57a638], eax
mov eax, dword [0x57a638]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x52504c
cmp dword [0x57a63c], ecx
je 0x52504c
push eax
call fcn.00516dd0
push dword [0x57a63c]
mov esi, eax
call fcn.00516dd0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x52504c
cmp edi, ebx
je 0x52504c
call esi
cmp eax, ebx
je 0x525019
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x525019
test byte [ebp - 0x18], 1
jne 0x52504c
lea eax, [ebp - 0x10]
push eax
call fcn.005105fe
test eax, eax
pop ecx
je 0x525034
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0050c70c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x525043
or dword [ebp + 0x10], 0x200000
jmp 0x525087
or dword [ebp + 0x10], 0x40000
jmp 0x525087
mov eax, dword [0x57a630]
cmp eax, dword [ebp - 8]
je 0x525087
push eax
call fcn.00516dd0
cmp eax, ebx
pop ecx
je 0x525087
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x525087
mov eax, dword [0x57a634]
cmp eax, dword [ebp - 8]
je 0x525087
push eax
call fcn.00516dd0
cmp eax, ebx
pop ecx
je 0x525087
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57a62c]
call fcn.00516dd0
cmp eax, ebx
pop ecx
je 0x5250a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5250a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9db1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4ef6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046b3e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4b60c4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.cpop
push 0x4b60ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call fcn.0043a380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x407d47
push 0x5b
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspace_supportcomputer_centercomputercenter_src_baseconfig_mgr.cc
mov dword [ebp - 0x234], 0xf
call fcn.0040a7c0
push 3
push 0x4b60fc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a7c0
push 0x74
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00406590
mov esi, eax
push str.ini_val:
push esi
mov byte [ebp - 4], 2
call fcn.00407430
add esp, 8
mov ecx, esi
push edi
call fcn.004072c0
call fcn.0043a380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.00407560
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x407cf6
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407cec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407d7d
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x407d47
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407d82
push edx
push ecx
call fcn.0043cf22
add esp, 8
xor eax, eax
test edi, edi
jne 0x407d52
lea eax, [edi + 1]
jmp 0x407d60
cmp dword [ebp + 8], 2
jne 0x407d60
xor eax, eax
cmp edi, 2
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d1d8
mov esp, ebp
pop ebp
ret 4
call fcn.0046e938
call fcn.0046e938
int3
Function at 0x4081c0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4ef6d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.0046b3e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4b5edc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x20019
xor ebx, ebx
lea ecx, [ebp - 0x224]
push 0x4b6008
push SysReAllocString
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.00408a30
mov esi, dword [ebp - 0x224]
test eax, eax
jne 0x4082a1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 4
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x4b6030
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4082a1
cmp dword [ebp - 0x218], 4
jne 0x4082a1
cmp dword [ebp - 0x210], ebx
setne bl
test esi, esi
je 0x4082ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
mov dword [edi], ebx
push eax
push 0
push 0x4b5fcc
push 0x4b5ff8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004082f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043d1d8
mov esp, ebp
pop ebp
ret
Function at 0x4084f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4ef6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046b3e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4b61e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0046b3e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x4b61fc
push str.source
push str.installbridge
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x408655
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x424]
call fcn.00407d90
test al, al
jne 0x408609
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4085e7
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00409020
mov esi, dword [ebp - 0x424]
push str.zhushou
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408637
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d1d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407b40
int3