joyce8/EMBER2024-capa huggingface dataset:
Function at 0x505685
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, [ecx*4]
pop dword [esp]
pop word [esp]
mov ax, sp
xchg dx, ax
sete dh
jmp 0x5056c7
setge dh
add esp, 4
push word [esp + 5]
jmp 0x505661
bts edx, edx
btr eax, esp
inc al
xor ax, 0x9fbc
mov byte [esp + 1], ah
not dh
jmp 0x505714
lea edx, [ebx + ebp]
clc
not dx
push word [esp + 2]
mov word [esp + 1], dx
lea esi, [esp + eax]
jmp 0x5057cb
rdtsc
mov eax, dword [esp]
lea eax, [eax*4]
not dh
bswap esi
mov dh, byte [esp + 1]
jmp 0x5056f2
lea eax, [edx + edi]
sub esp, 0x12
xchg byte [esp + 0x34], dh
pop dword [esp + 0x18]
xchg word [esp + 0x24], ax
mov ax, 0x6c6b
jmp 0x505c7c
mov ax, bx
lea eax, [ebx + ebx]
bts esi, edx
btc eax, edx
xchg byte [esp + 0x1c], al
jmp 0x50576f
pop si
mov esi, 0x29555e86
setp dh
xchg dh, al
mov dx, 0xf83
dec edx
jmp 0x505795
lea edx, [ecx*4]
mov word [esp], di
lea eax, [edi*4]
pop word [esp]
pushal
push dword [esp + 0x1d]
jmp 0x5057ad
pushal
lea esp, [esp + 0x4b]
setae dh
call fcn.0050582a
sub esp, 0
shr ah, 1
mov dh, 0x90
lea esp, [esp + 0xf]
pop edx
mov al, ah
jmp 0x5058d0
mov esi, dword [esp + 0xd]
and al, 0xd
pushal
pushal
lea esp, [esp + 0x4f]
mov si, sp
inc edx
jmp 0x5058f7
mov edx, 0xc42d7d40
mov dword [esp + 5], eax
xchg dx, si
lea esi, [edi + edi]
push word [esp + 9]
jmp 0x50589c
sub esp, 0x12
pop esi
add esp, 8
mov dl, 0x74
neg ah
bts eax, edi
jmp 0x5058b4
xchg word [esp + 1], ax
xchg byte [esp], al
call fcn.00505976
mov ecx, 0x31c2a737
jmp 0x50589e
dec edx
lea eax, reloc.MSVCRT.dll_malloc
push esp
setge ah
rdtsc
not dh
jmp 0x5058e0
mov al, 0x16
pop dword [esp + 5]
pop esi
setg dh
mov eax, ecx
xchg word [esp + 8], ax
jmp 0x505862
xchg edx, eax
bsr dx, cx
neg edx
rdtsc
bsf ax, ax
lea esi, [ecx - 0xb3]
jmp 0x505aa7

Function at 0x505a3a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, word [esp + 2]
add esp, 3
mov dh, byte [esp]

Function at 0x506120
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, 0xfc
pop word [esp + 0x15]
sub dh, ah
xchg esi, eax
mov al, ah
xchg esi, edx
jmp 0x505cb3
xchg byte [esp + 0x12], dh
rcr eax, 1
mov dword [esp + 6], ecx
sbb si, 0xb446
mov dh, ch
lea esi, [ebx + edi]
jmp 0x505ce1
sub esp, 0x10
xchg dword [esp + 3], edx
jmp 0x505d97
Function at 0x508383
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x50507f
call fcn.00505084
movzx ebx, word [eax + 0x3c]
jmp 0x508421
call 0x505bb1
jmp 0x5083fe
push word [esp + 7]
mov word [esp + 0xb], bx
jmp 0x5083c6
push dword [esp + 0xc]
mov dword [esp + 6], ecx
lea esp, [esp + 3]
mov dword [esp + 0x3c], edi
jmp 0x508437
push eax
jmp 0x505bac
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x508446
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5083f8
add ebx, eax
jmp 0x508469
lea esp, [esp + 0x3c]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x508417
je 0x50578b
sub eax, 0x10000
jmp 0x508402
cmp word [ebx], 0x4550
je 0x504f3d
jne 0x50844c
lodsb al, byte ds:[esi]
and al, byte [ebp - 0x4c]
push esi
sub byte [ecx + 0x50bb4829], bh
or bl, byte [edx + 0x3d9a6f08]
push 0xf90a6fff
test byte [esi - 0x30], 0x46
and eax, edx
fmul dword gs:[ebp - 0x23]
movsb byte es:[edi], byte [esi]
push edi
cld
pop esp
scasd eax, dword es:[edi]

Function at 0x50849c
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push dword [esp + 2]
lea esp, [esp + 3]
mov word [esp + 2], bx
push esp
call fcn.00508383
xor ch, byte [0x48f0f3c]
and al, 0x8f
inc esp
and al, 8
pop dword [esp]
pop dword [esp + 8]
lea esp, [esp + 0x11]
mov dword [esp + 0x30], esi
push edx
mov byte [esp + 1], dh
jmp 0x508399
pushal
push word [esp + 0xd]
pop word [esp + 0xf]
mov byte [esp + 0x21], ch
mov word [esp + 4], bx
pop word [esp + 0xb]
jmp 0x5083b0
lea esp, [esp + 1]
mov word [esp], bx
jmp 0x5083dd
Function at 0x401280
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x67452301
mov dword [ecx + 0x10], 0xefcdab89
mov dword [ecx + 0x14], 0x98badcfe
mov dword [ecx + 0x18], 0x10325476
mov byte [ecx], al
ret

Function at 0x402570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x10]
add ecx, edx
push eax
call fcn.004044a0
lea ecx, [esp + 0xc]
push ecx
push ecx
lea ecx, [esi + 4]
lea edx, [ebp + 8]
mov dword [esp + 0x30], 0
call fcn.00402a50
add esp, 4
mov ecx, eax
call fcn.00402d00
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4025e7
push eax
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405150
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xec
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [edi + 4]
push ecx
push esi
push 0x138
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x4051d5
mov eax, dword [esp + 0x28]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edx, dword [edi + 4]
push 0x80
lea ecx, [esp + 0x74]
push ecx
test eax, eax
push edx
setne bl
call dword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.00405060
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov eax, dword [esp + 0x2c]
push eax
call esi
test bl, bl
mov ebp, eax
je 0x40523e
mov edi, dword [edi + 0x2c]
jmp 0x405241
mov edi, dword [edi + 0x28]
mov ecx, dword [esp + 0x28]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x28]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x28]
push 0x24
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x28]
push ebp
push eax
call esi
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048de34
add esp, 0xec
ret

Function at 0x405fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405fd9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406014
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406010
lea ebx, [ebx]
cmp esi, eax
jae 0x406014
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406000
cmp esi, eax
jb 0x40601a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40d5f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1b0]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10

Function at 0x410672
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c0]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x1e8]
lea ecx, [ecx + esi + 0x1c0]
neg eax
sbb eax, eax
push edi
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.00410340
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push edx
call ebx
push 0x3e80000
push 0
push 0x401
push eax
mov dword [esi + 0x1bc], eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x1ac], 0x10
jb 0x4106da
mov edi, dword [esi + 0x198]
jmp 0x4106e0
lea edi, [esi + 0x198]
mov eax, dword [esi + 4]
push 0x3fd
push eax
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x40f4f0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x1b0], eax
jne 0x410728
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0x10

Function at 0x411cc0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x411cca
lea esi, [ecx - 0x48]
jmp 0x411ccc
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret
Function at 0x4149d0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4de57c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x4c4460
push 1
xor esi, esi
push esi
push 0x4c4690
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x414aac
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x414aac
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x414aac
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push 0x4c4ac0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x414aa1
cmp dword [ebp - 8], esi
je 0x414aa1
call dword [0x4de488]
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, eax
je 0x414a68
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x414a6c
xor eax, eax
jmp 0x414a7f
lea eax, [esi + esi]
call fcn.0048eaf0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00414610
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 2
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048de34
mov esp, ebp
pop ebp
ret 8
Function at 0x414d40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.0048ea70
add esp, 0xc
push 0
push 0x10
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x414e71
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x414d90
sub eax, edx
cmp eax, 0xf1
jae 0x414e71
push edi
lea edi, [esp + 8]
add edi, 0xffffffff
mov edi, edi
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x414db0
mov dx, word [0x4bfc88]
lea eax, [esp + 8]
mov word [edi], dx
add eax, 0xffffffff
pop edi
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x414dd0
mov ecx, dword [0x4bfc74]
mov edx, dword [0x4bfc78]
mov dword [eax], ecx
mov ecx, dword [0x4bfc7c]
mov dword [eax + 4], edx
mov edx, dword [0x4bfc80]
mov dword [eax + 8], ecx
mov cx, word [0x4bfc84]
mov dword [eax + 0xc], edx
mov dl, byte [0x4bfc86]
mov word [eax + 0x10], cx
push 0x103
mov byte [eax + 0x12], dl
lea eax, [esp + 0x10d]
push 0
push eax
mov byte [esp + 0x114], 0
call fcn.0048ea70
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004149d0
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0048de34
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.0048de34
add esp, 0x20c
ret 4
Function at 0x415c80
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4b57b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x40dd70
push 0x40d720
push 0xd
push 4
lea ebp, [esi + 8]
push ebp
mov dword [esi], vtable.CDialogX_class_CDlgInstallShortcut__2_.0
call fcn.0048f2dd
xor ebx, ebx
lea edi, [esi + 0x3c]
mov dword [esp + 0x20], ebx
mov eax, edi
mov ecx, 5
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
add eax, 0x10
sub ecx, 1
jns 0x415cd8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov eax, 0xf
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe0], ebx
mov byte [esi + 0xd0], bl
lea ecx, [esi + 0xe8]
push 4
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
push 0x4bfb44
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esi + 0x104]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
push ebx
push 0x4bf904
mov byte [esp + 0x28], 7
mov dword [esi + 4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc0], ebx
call fcn.00401e90
push edi
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
call edi
lea eax, [esi + 0x4c]
push eax
call edi
lea ecx, [esi + 0x5c]
push ecx
call edi
lea edx, [esi + 0x6c]
push edx
call edi
lea eax, [esi + 0x8c]
push eax
call edi
mov eax, dword [esi + 0x12c]
cmp eax, ebx
je 0x415ddd
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x12c], ebx
push str.xunyoubar.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.IDB_BITMAP_CAPTION_CLOSE_BTN_SW
mov ecx, eax
push ecx
mov dword [esi + 0x12c], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edi, eax
mov eax, dword [ebp]
cmp eax, ebx
je 0x415e10
cmp eax, edi
je 0x415e10
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp], edi
mov edx, dword [esi + 0x12c]
push str.IDB_BITMAP_CAPTION_BKGND_SW
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edi, eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x415e39
cmp eax, edi
je 0x415e39
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x18], edi
cmp dword [ebp], ebx
je 0x415e6f
cmp edi, ebx
je 0x415e6f
push 0xd2975c
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esi + 0x128], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x10
push 0x4bfaf0
push 0x4bfad4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4160f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5868
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.0046a740
push str.dialconfig.ini
push eax
lea ecx, [esp + 0x5c]
xor ebx, ebx
push ecx
mov dword [esp + 0x88], ebx
call fcn.00416030
add esp, 0x10
cmp dword [esp + 0x30], 0x10
jb 0x41615a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048d433
add esp, 4
mov esi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x74]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xa0], 3
mov byte [ecx + 4], bl
call fcn.00401cf0
lea ecx, [esp + 0x50]
call fcn.0046a9e0
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x4bfcf8
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 8
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.firstRun
mov byte [esp + 0xbc], 4
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 8
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.userinfo
mov byte [esp + 0xd8], 5
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0], 3
call fcn.0046a840
cmp dword [esp + 0x4c], 0x10
jb 0x41622f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x41624f
mov edx, dword [esp + 0x54]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0048de34
add esp, 0x70
ret

Function at 0x4168a0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x4168aa
lea esi, [ecx - 0x20]
jmp 0x4168ac
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret
Function at 0x41a6e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x4185e0
push 0
push 0
mov byte [esi + 0xc], 0
call fcn.0048f911
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
setne al
pop esi
ret

Function at 0x41cec0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b5c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x219], eax
mov word [esp + 0x21d], ax
mov byte [esp + 0x21f], al
push 8
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x21c]
push eax
xor ebx, ebx
push ecx
mov byte [esp + 0x224], bl
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x41cf72
push 0x4bfc6c
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41cf72
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x41cf72
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x41cf95
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp eax, ebx
je 0x41cf95
mov dword [esi + 0x24], ebx
mov dword [esi + 0x24], edi
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x58], ebx
mov dword [esi + 0x28], eax
jne 0x41d03d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, ebx
jle 0x41d03d
mov dword [esp + 0x14], ebx
lea edi, [eax + 1]
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x22c], ebx
ja 0x41cfe0
cmp edi, 0xffffffff
jbe 0x41cfea
push 0x80070057
call fcn.00405d80
cmp edi, 0x200
jbe 0x41d002
push edi
lea ecx, [esp + 0x18]
call fcn.0041a450
mov eax, dword [esp + 0x14]
jmp 0x41d00a
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, ebx
mov ebp, eax
je 0x41d02c
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x41d028
push ebp
mov ecx, esi
call fcn.0041cdb0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x41d03d
lea ecx, [esp + 0x14]
call fcn.0041a3e0
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0048de34
add esp, 0x21c
ret
Function at 0x41d730
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xd9cc]
test eax, eax
mov dword [esi + 0xd9c8], 0
je 0x41d780
mov byte [esi + 0xd9d0], 1
mov byte [eax + 0xc], 1
mov eax, dword [esi + 0xd9cc]
mov ecx, dword [eax + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xd9cc]
test ecx, ecx
je 0x41d776
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xd9cc], 0
push str.DlgLogin::OnCancel
mov byte [esi + 0xd6b5], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x4dfe8c]
push 4
push 0x4c0170
push ecx
push 0
mov ecx, 0x4dfe78
call fcn.0041bc70
test eax, eax
jne 0x41d7b5
call fcn.00437730
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
ret 0x10