joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438430
Capabilities:
Create thread

Disassembly:
sub esp, 0x104
cmp byte [0x907b9f], 0
push ebp
mov ebp, ecx
je 0x4385ff
cmp byte [0x907a1c], 0
je 0x4385ff
mov eax, dword [ebp]
push ebx
mov ebx, dword [esp + 0x110]
push edi
mov edi, 1
mov byte [eax + 0xa10], 0
cmp dword [0xa1a2c8], edi
jl 0x43849d
push 0x468
push str...SourceFileTransfer.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
lea ecx, [ebx + 0xc]
push ecx
push str.FILE_TRANSFER:_Received_file_header_from_server_for_file:__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
cmp dword [ebx + 8], 0
push esi
jle 0x4385bc
mov ecx, dword [ebp]
cmp dword [ecx + 0xa00], 0
jne 0x4385fc
lea esi, [ebx + 0xc]
push esi
call fcn.00436fc0
test al, al
je 0x4385fc
mov ecx, dword [ebp]
push esi
call fcn.00436ea0
test al, al
jne 0x438585
lea edi, [esp + 0x14]
xor ecx, ecx
mov eax, esi
sub edi, esi
mov dl, byte [eax]
test dl, dl
je 0x4384fb
mov byte [edi + eax], dl
add ecx, 1
add eax, 1
cmp ecx, 0xff
jl 0x4384e4
mov byte [esp + ecx + 0x14], 0
lea ecx, [esp + 0x14]
call fcn.00401140
mov ecx, dword [ebp]
lea edx, [esp + 0x14]
push edx
call fcn.00436ec0
test al, al
jne 0x438523
lea ecx, [esp + 0x14]
call fcn.0041ad30
push 0x5bc86c
push esi
call fcn.0058b491
mov ecx, dword [ebp]
mov dword [ecx + 0xa00], eax
mov ecx, dword [ebp]
add esp, 8
push esi
add ecx, 0x38
call fcn.00566e70
mov edx, dword [ebp]
mov eax, dword [ebx + 8]
mov dword [edx + 0xa04], eax
call fcn.004d1120
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x438060
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [ebp]
pop esi
pop edi
pop ebx
mov dword [edx + 0xa18], eax
pop ebp
add esp, 0x104
ret 4
test esi, esi
je 0x4385fc
cmp dword [0xa1a2c8], edi
jl 0x4385b8
push 0x496
push str...SourceFileTransfer.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push esi
push str.FILE_TRANSFER:_Server_sending_already_existent_file:__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
push 0
jmp 0x4385f3
lea esi, [ebx + 0xc]
test esi, esi
je 0x4385fc
cmp dword [0xa1a2c8], edi
jl 0x4385f2
push 0x4ab
push str...SourceFileTransfer.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push esi
push str.FILE_TRANSFER:_Requested_file_unavailable_from_the_server:__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
push edi
mov ecx, dword [ebp]
push esi
call fcn.00437f30
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x104
ret 4
Function at 0x438e70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
cmp dword [esi + 4], 3
push edi
je 0x438e87
push 3
call fcn.00438830
mov edi, 2
cmp dword [0xa1a2c8], edi
jl 0x438eba
push 0x5c0
push str...Sourcegame.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push str.Entered_Game::Init__
push 0xa1a2c8
call fcn.004f3d30
add esp, 8
mov al, 0x65
push 0x6a
mov byte [esp + 0x12], al
mov byte [esp + 0x19], al
mov cl, 0x60
lea eax, [esp + 0x22]
push 0
push eax
mov byte [esp + 0x14], 0x59
mov byte [esp + 0x15], 0x4f
mov byte [esp + 0x16], 0x4c
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x63
mov byte [esp + 0x19], cl
mov byte [esp + 0x1b], 0x23
mov byte [esp + 0x1c], 0x21
mov byte [esp + 0x1d], 0x27
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], cl
mov byte [esp + 0x22], 0x68
mov byte [esp + 0x23], 0x77
mov byte [esp + 0x24], 0x35
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x83
mov byte [esp + 0x27], 0x72
mov byte [esp + 0x28], 0xf
mov byte [esp + 0x29], 0
call fcn.0058ac30
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004388d0
mov edx, dword [esi + 0x1c]
mov byte [esi + 0x30], al
push edx
lea eax, [esp + 0xc]
push eax
call fcn.00588ead
add esp, 8
test eax, eax
jne 0x438f8b
cmp dword [0xa1a2c8], edi
jl 0x438f8b
push 0x5c7
push str...Sourcegame.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push str.before_replayman_init
push 0xa1a2c8
call fcn.004f3d30
add esp, 8
mov ecx, 0x9f9d70
call fcn.004bde20
cmp dword [0xa1a2c8], edi
jl 0x438fc3
push 0x5cb
push str...Sourcegame.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push str.got_past_replayman_init
push 0xa1a2c8
call fcn.004f3d30
add esp, 8
mov ecx, 0x9fba90
call fcn.004c37b0
cmp dword [0xa1a2c8], edi
jl 0x438ffb
push 0x5cd
push str...Sourcegame.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push str.got_past_replayfridgeman_init
push 0xa1a2c8
call fcn.004f3d30
add esp, 8
mov ecx, 0x908488
call fcn.00464620
test eax, eax
je 0x439022
mov ecx, 0x908488
call fcn.00464620
cmp eax, edi
je 0x439022
cmp eax, 1
mov dword [0x8f71b8], edi
jne 0x43902c
mov dword [0x8f71b8], 3
mov ecx, 0xa1e7e8
call fcn.0051bbb0
test eax, eax
pop edi
pop esi
je 0x439048
mov eax, 1
add esp, 0x80
ret
mov ecx, 0xa0bb88
call fcn.004cd970
mov ecx, 0xa46bc0
call fcn.00522ea0
mov ecx, 0x679160
call fcn.00406700
mov ecx, 0x91d3f4
call fcn.0049c9f0
mov ecx, 0xa19110
call fcn.004eec60
mov ecx, 0x9002e0
call fcn.004d3040
mov ecx, 0xa18e80
call fcn.004e34a0
mov ecx, 0x679160
call fcn.004d3040
mov ecx, 0x680ca0
call fcn.00435a80
mov ecx, 0x679478
call fcn.00413220
mov ecx, 0xa18b14
call fcn.004dc9f0
mov ecx, 0x9f9c90
mov dword [0x8f7198], eax
call fcn.004b6880
mov ecx, 0x66f0e0
call fcn.0049fdc0
mov ecx, 0x91cf60
call fcn.0049ab90
mov ecx, 0x91d4a4
call fcn.0049e470
mov ecx, 0x908488
call fcn.0046fdd0
mov ecx, 0x8f71e8
call fcn.004d3040
xor eax, eax
add esp, 0x80
ret
Function at 0x444110
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x81
mov dword [esp + 0x24], edi
mov byte [esp + 0x17], 1
call fcn.00588cb9
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x26c]
add esp, 4
test eax, eax
mov dword [esp + 0x18], 0x80
je 0x444158
push eax
lea ecx, [esp + 0x18]
call fcn.00566e70
jmp 0x444183
mov eax, dword [edi]
test eax, eax
jne 0x444163
mov eax, 0x5ad73f
push eax
lea ecx, [esp + 0x18]
call fcn.00566e70
mov eax, dword [edi + 8]
test eax, eax
jne 0x444179
mov eax, 0x5ad73f
push eax
lea ecx, [esp + 0x18]
call fcn.00566ee0
mov esi, dword [esp + 0x14]
test esi, esi
mov eax, esi
jne 0x444192
mov eax, 0x5ad73f
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x444195
sub eax, edx
test eax, eax
jle 0x4441c4
test esi, esi
mov ecx, esi
jne 0x4441af
mov ecx, 0x5ad73f
cmp byte [ecx + eax - 1], 0x5c
je 0x4441c4
push 0x5bc868
lea ecx, [esp + 0x18]
call fcn.00566ee0
push 0x5bc878
lea ecx, [esp + 0x18]
call fcn.00566ee0
lea ebp, [edi + 0x20]
mov ecx, ebp
call fcn.00406be0
lea ebx, [edi + 0x34]
mov ecx, ebx
call fcn.00406be0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4441f3
mov eax, 0x5ad73f
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x44434d
nop
test byte [esp + 0x124], 0x10
je 0x4442c7
mov edi, 0x5ae364
lea esi, [esp + 0x150]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x444298
mov edi, 0x5bc874
lea esi, [esp + 0x150]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x444298
push 0x100
lea edx, [esp + 0x28]
lea ecx, [esp + 0x154]
call fcn.00568db0
push 8
call fcn.00588cb9
mov esi, eax
add esp, 4
test esi, esi
je 0x44428c
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
call fcn.00566e70
jmp 0x44428e
xor esi, esi
push 1
push esi
mov ecx, ebp
call fcn.00406b80
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x124]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x444210
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x444352
push 0x100
lea edx, [esp + 0x28]
lea ecx, [esp + 0x154]
call fcn.00568db0
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4442e3
sub eax, edx
lea edx, [esp + eax + 0x20]
push 0x5c6408
push edx
call fcn.00588ead
add esp, 8
test eax, eax
jne 0x44429c
push 8
call fcn.00588cb9
mov esi, eax
add esp, 4
test esi, esi
je 0x44433c
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
call fcn.00566e70
push 1
push esi
mov ecx, ebx
call fcn.00406b80
jmp 0x44429c
xor esi, esi
push 1
push esi
mov ecx, ebx
call fcn.00406b80
jmp 0x44429c
mov byte [esp + 0x13], 0
push 1
mov ecx, ebp
call fcn.004440d0
push 1
mov ecx, ebx
call fcn.004440d0
mov ecx, dword [esp + 0x14]
add dword [edi + 0x1c], 1
push ecx
call fcn.00588796
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 4
Function at 0x44d170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x290
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
mov edi, ecx
push 0x22
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
cmp eax, 0x22
je 0x44d1a3
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 8]
call fcn.0044a2f0
fld qword [esp + 0x34]
lea eax, [esp + 0x58]
fstp qword [esp + 0xc8]
fld qword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x178]
fstp qword [esp + 0x188]
fld qword [esp + 0x44]
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x54]
fstp qword [esp + 0x248]
lea ecx, [esp + 0xb8]
mov dword [esp + 0xc], ecx
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 0x1fffff
lea edx, [esp + 0x118]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x238]
mov dword [esp + 0x1c], edx
mov edx, ecx
and edx, 0x3ff
shr eax, 0x15
shl edx, 0xb
add edx, eax
mov eax, ecx
shr eax, 0xa
shr ecx, 0x1f
and eax, 0x1fffff
and cl, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], cl
xor edx, edx
jmp 0x44d260
mov eax, dword [esp + edx*4 + 0x28]
test eax, eax
mov ecx, dword [esp + edx*8 + 8]
jl 0x44d198
cmp eax, dword [esi + 0x74]
jge 0x44d198
shl eax, 4
add eax, dword [esi + 0x78]
add edx, 1
cmp edx, 3
fld dword [eax]
fstp dword [ecx]
fld qword [eax + 4]
fstp qword [ecx + 0x10]
fld dword [eax + 0xc]
fstp dword [ecx + 0xc]
jl 0x44d260
push 1
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0044ca10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x450b70
Capabilities:
Get keyboard layout

Disassembly:
cmp dword [0xa1a2c8], 2
jl 0x450b9f
push 0x1f35
push str...Sourcehwinput.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push str.Entered_HWInput::Enter__
push 0xa1a2c8
call fcn.004f3d30
add esp, 8
cmp dword [0xa1a2c8], 1
jl 0x450bd7
push 0x1f36
push str...Sourcehwinput.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
push 0
call dword [sym.imp.user32.dll_GetKeyboardLayout]
push eax
push str.HKL0x_08x
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
ret
Function at 0x4552d0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
test byte [0x906f74], 1
jne 0x4552ed
or dword [0x906f74], 1
push 0
call dword [sym.imp.user32.dll_GetKeyboardLayout]
mov dword [0x906f70], eax
push esi
mov esi, dword [esp + 8]
push edi
mov edi, esi
push 0x906e70
mov word [0x906e68], 0
mov word [0x906e64], 0
and edi, 0xfff
call dword [sym.imp.user32.dll_GetKeyboardState]
test eax, eax
jne 0x455323
pop edi
xor al, al
pop esi
ret 4
cmp esi, 0x8039
push ebp
mov ebp, dword [sym.imp.user32.dll_GetKeyState]
jne 0x455339
mov esi, 0x39
jmp 0x45533e
cmp esi, 0x45
je 0x455347
cmp byte [0x906e61], 0
jne 0x45535e
push 0x90
call ebp
and al, 1
mov byte [0x906e60], al
mov byte [0x906e61], 1
jmp 0x455363
mov al, byte [0x906e60]
cmp al, 1
jne 0x45536d
or esi, 0x4000
push 0x14
call ebp
test al, 1
mov ebp, dword [0x906f70]
je case.0x4553b0.26
movzx eax, bp
cmp eax, 0xc07
jg 0x455393
je case.0x4553b0.16
sub eax, 0x407
je case.0x4553b0.16
sub eax, 5
jmp 0x45539f
cmp eax, 0x140c
je case.0x4553b0.16
cmp eax, 0x180c
je case.0x4553b0.16
lea eax, [edi - 0x10]
cmp eax, 0x22
ja case.0x4553b0.26
movzx eax, byte [eax + 0x45542c]
jmp dword [eax*4 + 0x455424]
test esi, 0x8000
je 0x4553c7
and esi, 0xffff7fff
jmp case.0x4553b0.26
or esi, 0x8000
mov cl, byte [0x906e64]
push ebp
mov edx, esi
call fcn.00452740
movzx ax, al
test ax, ax
mov word [0x906e68], ax
jne 0x45541b
push ebp
push 1
push edi
call dword [sym.imp.user32.dll_MapVirtualKeyExA]
mov ecx, dword [0x906f70]
push ecx
push 0
push 0x906e64
push 0x906e70
push edi
push eax
call dword [sym.imp.user32.dll_ToAsciiEx]
mov ax, word [0x906e64]
mov word [0x906e68], ax
pop ebp
pop edi
pop esi
ret 4
Function at 0x4743d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x908500]
sub esp, 0x1c
test eax, eax
jne 0x4743fc
mov ecx, dword [0x91d484]
push eax
mov eax, dword [0x91d49c]
push 0x473ae0
push eax
push 0x69
push ecx
call dword [sym.imp.user32.dll_CreateDialogParamA]
mov dword [0x908500], eax
push esi
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [0x908500]
mov esi, dword [sym.imp.user32.dll_PeekMessageA]
push 0
push 0
push 0
push edx
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
je 0x474495
push ebx
mov ebx, dword [sym.imp.user32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.user32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.user32.dll_GetMessageA]
lea esp, [esp]
mov ecx, dword [0x908500]
push 0
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
call edi
test eax, eax
jle 0x474492
mov ecx, dword [0x908500]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.user32.dll_IsDialogMessageA]
test eax, eax
jne 0x47447a
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
mov ecx, dword [0x908500]
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x474440
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret

Function at 0x474810
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
cmp ebx, eax
je 0x47484c
push ebp
push edi
push eax
call fcn.004747a0
push ebx
mov edi, eax
call fcn.004747a0
test eax, eax
mov ebp, dword [sym.imp.user32.dll_ShowWindow]
je 0x47483e
push 5
push eax
call ebp
test edi, edi
je 0x474847
push 0
push edi
call ebp
pop edi
mov dword [esi + 0x1c], ebx
pop ebp
pop esi
pop ebx
ret 4
Function at 0x4806f0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x9088a4
call fcn.005712e0
mov ecx, 0x9088a4
mov dword [eax], 0
call fcn.00408470
lea eax, [esi + 0x24]
push eax
push 0
push 0
push 0x4804b0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
mov dword [esi + 0x20], eax
push 1
call ebp
mov ecx, 0x9088a4
xor bl, bl
call fcn.005712e0
mov edi, eax
cmp dword [edi], 1
jne 0x480785
push 3
mov ecx, esi
mov bl, 1
call fcn.00478f50
cmp dword [0x90851c], 0
je 0x48077f
push 4
mov ecx, esi
call fcn.00478f50
push 5
mov ecx, esi
call fcn.00478f50
push 6
mov ecx, esi
call fcn.00478f50
push 7
mov ecx, esi
call fcn.00478f50
mov dword [edi], 2
mov ecx, 0x9088a4
call fcn.00408470
test bl, bl
je 0x480730
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4807a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
call fcn.004806f0
cmp dword [0x90851c], 0
je 0x4807f0
lea eax, [esp + 4]
push eax
mov ecx, 0x908520
mov dword [esp + 8], 6
mov dword [esp + 0xc], 0
call fcn.00476d50
push 5
mov ecx, 0x908520
call fcn.00474810
mov ecx, dword [0x908510]
push 6
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
jmp 0x4807f9
push 3
mov ecx, esi
call fcn.00474810
mov eax, dword [0x908500]
test eax, eax
pop esi
je 0x480814
push eax
call dword [sym.imp.user32.dll_DestroyWindow]
mov dword [0x908500], 0
mov al, 1
add esp, 0x20
ret
Function at 0x4823b0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x318
push ebx
push esi
mov esi, dword [esp + 0x324]
push edi
lea eax, [esp + 0xc]
push eax
push 0x8004667e
mov ebx, 1
push esi
mov dword [esp + 0x18], ebx
call sub.ws2_32.dll_ioctlsocket
mov ecx, dword [esp + 0x32c]
push 0x10
push ecx
push esi
mov dword [esp + 0x22c], 0
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
call sub.ws2_32.dll_connect
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x22c]
push edx
push 0
call sub.ws2_32.dll_select
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x18], 0
call sub.ws2_32.dll_ioctlsocket
test edi, edi
je 0x482472
lea ecx, [esp + 0x18]
push ecx
push esi
call sub.ws2_32.dll___WSAFDIsSet
test eax, eax
jne 0x482472
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x318
ret 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x318
ret 8
Function at 0x4902f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x110
push ebx
push edi
mov edi, dword [esp + 0x11c]
cmp edi, 1
mov ebx, ecx
jle 0x490474
push esi
push 0xff
lea eax, [esp + 0x21]
push 0
push eax
mov byte [esp + 0x28], 0
call fcn.0058ac30
mov ecx, dword [ebx + 0x294]
push ecx
mov dword [esp + 0x1c], str.Undefined_Error
mov dword [esp + 0x20], str.Warning
mov dword [esp + 0x24], str.Error
mov dword [esp + 0x28], str.Critical_Error
mov edx, dword [esp + edi*4 + 0x1c]
push edx
lea eax, [esp + 0x30]
push str.OSC__s_on_line__d_:
push eax
call fcn.00589571
mov eax, dword [esp + 0x140]
add esp, 0x1c
test eax, eax
je 0x4903f3
lea edi, [esp + 0x1c]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x490375
push ebp
mov bp, word [0x5d82dc]
mov word [edi], bp
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x490390
lea edi, [esp + 0x20]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4903a4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4903c3
mov word [edi], bp
lea edi, [esp + 0x20]
add edi, 0xffffffff
pop ebp
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4903d8
mov cx, word [0x5ad7b0]
mov word [edi], cx
mov edi, dword [esp + 0x120]
cmp dword [ebx + 0xbc], 0
jne 0x490434
mov edx, dword [ebx + 0xb8]
mov edx, dword [edx + 8]
push 1
push 1
push 1
lea esi, [ebx + 0xb8]
push 0
lea eax, [ebx + 0x214]
push eax
mov ecx, esi
call edx
test al, al
je 0x49042d
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 0
mov ecx, esi
call edx
cmp dword [ebx + 0xbc], 0
pop esi
je 0x490456
mov ecx, dword [ebx + 0xb8]
lea edx, [esp + 0x18]
push edx
lea eax, [ebx + 0xb8]
push 0x5b31d0
push eax
mov eax, dword [ecx + 0x20]
call eax
add esp, 0xc
cmp edi, 3
je 0x490460
cmp edi, 2
jne 0x490474
mov ecx, dword [ebx + 0x2ac]
test ecx, ecx
je 0x490481
lea edx, [esp + 0x18]
push edx
call fcn.00493110
pop edi
xor eax, eax
pop ebx
add esp, 0x110
ret 8
push 0
push str.OSC_Read_Error
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 1
call fcn.0058d8e3
int3

Function at 0x493110
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x80
test eax, eax
je 0x49315c
push esi
lea esi, [esp + 4]
xor ecx, ecx
sub esi, eax
mov dl, byte [eax]
test dl, dl
je 0x49313b
mov byte [esi + eax], dl
add ecx, 1
add eax, 1
cmp ecx, 0x7f
jl 0x493127
push 0
push str.Options_Error
lea eax, [esp + 0xc]
push eax
push 0
mov byte [esp + ecx + 0x14], 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 1
call fcn.0058d8e3
pop esi
add esp, 0x80
ret 4
Function at 0x49e010
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
cmp byte [esp + 0x18], 0
je 0x49e0e4
mov eax, dword [esp + 0x14]
mov ecx, dword [0x91d484]
push 0x50
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.user32.dll_LoadImageA]
test eax, eax
mov dword [0x91d4ac], eax
je 0x49e0fb
push esi
call dword [sym.imp.user32.dll_GetDesktopWindow]
lea edx, [esp + 4]
mov esi, eax
push edx
push esi
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [0x91d484]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 4]
push 0
push eax
push 0
push esi
push 0x180
push 0x200
sar ecx, 1
sub ecx, 0xc0
push ecx
sar edx, 1
sub edx, 0x100
push edx
push 0x8000000e
push 0x5ad73f
push str.STATIC
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov ecx, dword [0x91d4ac]
push ecx
push 0
push 0x172
push eax
mov dword [0x91d4a8], eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [0x91d4a8]
push 5
push edx
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x91d4a8]
push eax
call dword [sym.imp.user32.dll_UpdateWindow]
pop esi
add esp, 0x10
ret 8
mov ecx, dword [0x91d4a8]
push ecx
call dword [sym.imp.user32.dll_DestroyWindow]
mov dword [0x91d4a8], 0
add esp, 0x10
ret 8
Function at 0x4b1960
Capabilities:
Link many functions at runtime

Disassembly:
fldz
sub esp, 0x10c
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 8], ebx
or eax, 0xffffffff
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x118]
mov dword [esi + 0x10], ebx
fstp dword [esi + 0x20]
push edi
lea edi, [esi + 8]
mov dword [esi + 0x24], ebx
mov dword [esi], ebx
mov byte [esi + 4], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [eax]
cmp eax, ebx
jne 0x4b19a4
mov eax, 0x5ad73f
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi], eax
je 0x4b1a55
push 0x100
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.00566e70
mov eax, dword [esi]
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.GetPluginName
push eax
call edi
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x4b1a55
mov ecx, dword [esi]
push str.GetPluginVersion
push ecx
call edi
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4b1a55
mov edx, dword [esi]
push ebp
push str.GetPluginObjectCount
push edx
call edi
mov ebp, eax
cmp ebp, ebx
je 0x4b1a54
mov eax, dword [esi]
push str.GetPluginObjectInfo
push eax
call edi
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x4b1a54
mov ecx, dword [esi]
push 0x5f7b44
push ecx
call edi
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4b1a37
call dword [esp + 0x18]
fstp dword [esi + 0x20]
call dword [esp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.004072d0
call dword [esp + 0x14]
mov dword [esi + 0x18], eax
call ebp
mov dword [esi + 0x1c], eax
mov byte [esi + 4], 1
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10c
ret 4

Function at 0x4b2470
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x148
push ebx
push esi
push 0x81
mov ebx, ecx
call fcn.00588cb9
mov dword [esp + 0xc], eax
mov byte [eax], 0
mov eax, dword [0x679840]
add esp, 4
test eax, eax
mov dword [esp + 0xc], 0x80
jne 0x4b24a4
mov eax, 0x5ad73f
push eax
lea ecx, [esp + 0xc]
call fcn.00566e70
push str..dll
lea ecx, [esp + 0xc]
call fcn.00566ee0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4b24c9
mov eax, 0x5ad73f
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b24fc
push edi
mov edi, dword [sym.imp.kernel32.dll_FindNextFileA]
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
call fcn.004b2180
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
jne 0x4b24e3
pop edi
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 8]
push ecx
call fcn.00588796
add esp, 4
pop esi
pop ebx
add esp, 0x148
ret