joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fde70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.004036c0
mov esi, dword [esp + 0x30]
call fcn.004036c0
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x24], 1
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x45a454
cmp eax, 0xa
jl 0x45a454
mov eax, 4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.0041a270
lea edi, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0040ab90
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x45a454
push ebx
call fcn.005d3c34
mov ecx, dword [ebp - 0xc]
lea esi, [eax + 4]
add esp, 4
cmp esi, ecx
jg 0x45a454
lea ecx, [esp + 0x34]
push ecx
mov ecx, 4
lea edx, [esp + 0x1c]
call fcn.00409f60
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x24], 3
call fcn.0040ab90
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.00403870
mov eax, dword [ebp - 0xc]
lea ebp, [esi + 4]
cmp ebp, eax
jg 0x45a450
lea edx, [esp + 0x34]
push edx
mov eax, 4
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.00409f60
lea edi, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.0040ab90
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.00403870
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x45a450
push ebx
call fcn.005d3c34
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx - 0xc]
lea edx, [eax + ebp]
add esp, 4
cmp edx, ecx
jg 0x45a450
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
lea edx, [esp + 0x1c]
call fcn.00409f60
mov edi, dword [esp + 0x30]
mov byte [esp + 0x24], 5
call fcn.0040ab90
lea ecx, [esp + 0x18]
call fcn.00403870
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x45a473
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
cmp dword [edx - 0xc], 0
je 0x45a473
mov esi, 1
jmp 0x45a475
xor esi, esi
add ebx, 0xfffffff0
mov byte [esp + 0x24], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45a496
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a4ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45aa60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x602070
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [eax + 1]
mov byte [esp + 0x30], al
call fcn.0050e580
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
test eax, eax
je 0x45aaec
mov edx, dword [ecx + 0x14]
cmp eax, edx
je 0x45aaec
mov ecx, eax
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x45aaee
mov ecx, eax
mov eax, dword [ecx + 0xc]
cmp eax, edx
jne 0x45aae1
jmp 0x45aaee
xor ecx, ecx
test ecx, ecx
mov edi, ecx
je 0x45ab83
test edi, edi
mov edx, edi
je 0x45ab47
mov eax, dword [esp + 0x30]
mov esi, dword [edi + 0x10]
mov ecx, dword [eax + 0x14]
cmp esi, ecx
je 0x45ab2a
test esi, esi
je 0x45ab24
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x45ab26
mov esi, eax
mov eax, dword [esi + 0xc]
cmp eax, ecx
jne 0x45ab17
mov edi, esi
jmp 0x45ab47
xor esi, esi
mov edi, esi
jmp 0x45ab47
mov eax, dword [edi + 0x14]
cmp eax, ecx
je 0x45ab43
cmp edi, dword [eax + 0x10]
jne 0x45ab3f
mov edi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x45ab31
cmp eax, ecx
jne 0x45ab45
xor eax, eax
mov edi, eax
lea ecx, [esp + 0x14]
call fcn.0045a910
mov ebx, dword [esp + 0x14]
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ab60
sub eax, edx
sar eax, 1
push ebx
mov ecx, eax
lea esi, [esp + 0x1c]
call fcn.0050e710
test edi, edi
jne 0x45aaf8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45ab92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45abb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x45bc80
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x98]
test eax, eax
je 0x45bcba
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45bcba
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x45bcd7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x98], 0
ret
Function at 0x45f940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x608985
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0xc0], 1
call fcn.0045fb20
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
and dword [esp + eax + 0x34], 0xfffffffe
lea eax, [esp + eax + 0x24]
mov byte [esp + 0xbc], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], 0
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x10], 1
call fcn.0045fdd0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
add esp, 8
test byte [edx + eax + 8], 6
jne 0x45fa46
push esi
lea eax, [esp + 0x28]
push eax
call fcn.0045fab0
test al, al
je 0x45fa46
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 1
call fcn.00453700
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.005d1bef
add esp, 4
cmp dword [esp + 0xdc], 8
jb 0x45fa2e
mov edx, dword [esp + 0xc8]
push edx
call fcn.005d2367
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xbc
ret
push str.bad_cast
lea ecx, [esp + 0x14]
call fcn.005d245e
mov eax, 0x674a10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x64f31c
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], vtable.fund::bad_lexical_cast.0
call fcn.005dacf8
int3
Function at 0x464c30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x601fc3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CPicFaceWhiteList.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], vtable.CPicFaceWhiteListFile.0
call fcn.00448810
mov dword [esi + 0x38], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov dword [esi + 0x3c], edi
push 0xffffff
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x468000
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6069d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.0047ac70
mov dword [esp + 0x20], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x46806b
lea ecx, [eax - 1]
test ecx, ecx
jl 0x468143
cmp ecx, eax
jg 0x468143
movzx eax, word [ebp + ecx*2]
cmp ax, 0x5c
je 0x46806b
push 0x5c
call fcn.0040af90
mov ebp, dword [esp + 0x10]
lea ebx, [esp + 0x14]
call fcn.0047a980
mov byte [esp + 0x20], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x4680aa
lea eax, [ecx - 1]
test eax, eax
jl 0x468143
cmp eax, ecx
jg 0x468143
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4680aa
push 0x5c
mov edi, ebx
call fcn.0040af90
lea eax, [esp + 0x10]
mov edi, esi
call fcn.0040ab90
push 8
push 0x629678
push esi
call fcn.0040aee0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4680e5
lea eax, [esp + 0x14]
call fcn.0040ab90
push 8
push 0x629678
push esi
call fcn.0040aee0
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46810a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46812e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x80070057
call fcn.00403650
int3
Function at 0x469930
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x50], eax
cmp dword [esp + 0x58], 0
push ebx
push ebp
push esi
jl 0x469a9c
test edi, edi
jl 0x469a9c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
xor esi, esi
test edi, edi
jle 0x46997b
mov eax, dword [0x678f84]
push 0
push esi
push 0x101d
push eax
call ebx
add esi, 1
add ebp, eax
cmp esi, edi
jl 0x469962
mov ecx, dword [0x678f84]
push 0
push edi
push 0x101d
push ecx
call ebx
mov ecx, dword [0x678f84]
lea edx, [esp + 0x10]
push edx
mov esi, eax
mov eax, dword [esp + 0x68]
push eax
push 0x100e
push ecx
mov dword [esp + 0x20], 0
call ebx
mov ecx, dword [esp + 0x14]
sub ecx, 2
mov dword [esp + 0x14], ecx
jns 0x4699c1
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
add eax, ebp
lea edx, [eax + esi]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
push 1
sub edx, ecx
add edx, 4
push edx
push esi
add ecx, 2
push ecx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [0x678f80]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [0x678f80]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x64]
mov ecx, dword [0x678f84]
xor eax, eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1073
lea edx, [esp + 0x54]
push ecx
mov word [esp + 0x58], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], 9
mov dword [esp + 0x44], edx
call ebx
mov eax, dword [0x678f80]
lea edx, [esp + 0x48]
push edx
push eax
mov dword [0x678f90], esi
mov dword [0x678f94], edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x678f80]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebx
mov edx, dword [0x678f80]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005d28b3
add esp, 0x54
ret
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005d28b3
add esp, 0x54
ret
Function at 0x46add0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x408], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x410]
push ebp
push esi
push edi
push ecx
mov dword [ebx + 0x1b4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46af2a
cmp dword [ebx + 0x1a0], 0
je 0x46aeb3
cmp dword [ebx + 0x1b4], 0
je 0x46aeb3
mov eax, dword [ebx + 0x1a4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [ebx + 0x1a4]
push eax
call edi
test eax, eax
je 0x46aeb3
cmp dword [ebx + 0x140], 1
jne 0x46ae72
mov edx, dword [ebx + 0x1a0]
lea ebp, [ebx + 0x130]
lea edi, [ebx + 0x134]
mov eax, esi
mov dword [ebp], edx
call fcn.0040ab90
mov eax, dword [ebx + 0x1b4]
push 0
push ebp
push 0x47c
push eax
jmp 0x46af1f
push 0
push ebx
call fcn.0046b140
test eax, eax
je 0x46aeb3
mov eax, dword [esi]
push eax
call edi
test eax, eax
je 0x46aeb3
mov ecx, dword [ebx + 0x1a0]
lea ebp, [ebx + 0x130]
lea edi, [ebx + 0x134]
mov eax, esi
mov dword [ebp], ecx
call fcn.0040ab90
mov edx, dword [ebx + 0x1b4]
push 0
push ebp
push 0x47c
jmp 0x46af1e
lea eax, [ebx + 0x13c]
push eax
lea esi, [ebx + 0x138]
call fcn.004ecce0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
lea edx, [esp + 0x14]
lea eax, [ebx + 0x144]
push edx
push eax
mov dword [eax], 0x40
lea eax, [ebx + 0x148]
push eax
or ecx, 0xffffffff
mov dword [esp + 0x1c], 0x400
call fcn.004ed190
add esp, 0x10
test esi, esi
je 0x46af12
test eax, eax
je 0x46af12
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x8e7
push ecx
jmp 0x46af1f
mov edx, dword [ebx + 4]
push 0
push 0
push 0x8e8
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005d28b3
add esp, 0x40c
ret 4
Function at 0x46af50
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5fd890
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x677600]
mov esi, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 1
push esi
xor ebp, ebp
lea esi, [esp + 0x1c]
mov dword [esp + 0x48], ebp
call fcn.0046b140
cmp eax, ebp
jne 0x46afe1
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46afda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x46b11c
mov dword [esp + 0x18], ebp
push ebp
push 0x80
push 3
push ebp
push 1
mov byte [esp + 0x54], 1
mov ebx, dword [esp + 0x28]
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x46b020
call fcn.0040f010
test eax, eax
jge 0x46b026
mov dword [esp + 0x40], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x46afc1
mov ebp, eax
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x46b072
call fcn.0040f010
test eax, eax
jge 0x46b06e
test ebp, ebp
je 0x46b051
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46afce
mov esi, dword [esp + 0x1c]
push esi
call fcn.005d1ef5
mov ebx, eax
add esp, 4
mov ecx, ebx
lea edx, [esp + 0x18]
call fcn.00417460
test eax, eax
jge 0x46b0a4
test ebp, ebp
je 0x46b097
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00403870
xor eax, eax
jmp 0x46b11c
push esi
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00492680
add esp, 0xc
mov edx, 0x6244e0
call fcn.00403760
xor esi, esi
nop
movzx edx, byte [esp + esi + 0x24]
push edx
push 0x628998
call fcn.0040e190
add esi, 1
add esp, 8
cmp esi, 0x10
jb 0x46b0c0
push ebx
call fcn.005d28c2
add esp, 4
test ebp, ebp
je 0x46b0ef
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b117
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005d28b3
add esp, 0x30
ret
Function at 0x46b140
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5fd858
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
push 0x6244e0
xor ebx, ebx
mov eax, esi
call fcn.004037a0
lea edi, [esp + 0x24]
call fcn.0047ac70
mov edi, esi
mov dword [esp + 0x18], ebx
call fcn.0040ab90
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b1b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x46b272
jle 0x46b1db
lea ecx, [eax - 1]
test ecx, ecx
jl 0x46b232
cmp ecx, eax
jg 0x46b232
cmp word [edx + ecx*2], 0x5c
je 0x46b1db
push 0x5c
mov edi, esi
call fcn.0040af90
push 0x10
push 0x62973c
push esi
call fcn.0040aee0
mov ecx, dword [esi]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test ebp, ebp
jne 0x46b23c
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x13c]
mov eax, dword [eax + 0x138]
push edx
push eax
push str._u_system__u.bmp
mov edi, esi
call fcn.0040e190
add esp, 0xc
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8
push 0x80070057
call fcn.00403650
cmp ebp, 1
jne 0x46b272
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x138]
push edx
push str._u_custom.bmp
mov edi, esi
call fcn.0040e190
add esp, 8
mov eax, ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x46b290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [edi + 0x140]
sub esp, 8
push ebx
push esi
push eax
lea esi, [edi + 0x1a4]
push edi
call fcn.0046b140
test eax, eax
jne 0x46b2ba
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x46b337
call fcn.0040f010
test eax, eax
jl 0x46b2b2
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x18c]
push 0
lea edx, [esp + 0x10]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46b308
call fcn.0040f010
push 0
push 0
lea esi, [edi + 0x188]
call fcn.0046bad0
test ebx, ebx
mov dword [edi + 0x198], 0
je 0x46b32c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
jmp 0x46b2e3
Function at 0x46bc40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fb63b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
push 0x24
call fcn.005d2776
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x46bc8b
push eax
call fcn.0046bb50
mov esi, eax
jmp 0x46bc8d
xor esi, esi
test esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], esi
jne 0x46bcb3
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14
test ebx, ebx
jne 0x46bcbb
xor eax, eax
jmp 0x46bccf
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bcc0
sub eax, edx
sar eax, 1
push ebx
mov ebx, eax
mov eax, esi
call fcn.004037a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov esi, dword [esp + 0x24]
add esi, 0x50
lea ebx, [esp + 0x10]
call fcn.0059c9d0
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14

Function at 0x46bd40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f814b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x24
call fcn.005d2776
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x46bd87
push eax
call fcn.0046bb50
mov esi, eax
jmp 0x46bd89
xor esi, esi
test esi, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], esi
jne 0x46bdaf
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18
test edi, edi
jne 0x46bdb7
xor eax, eax
jmp 0x46bdcf
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bdc0
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
mov eax, esi
call fcn.004037a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], 0
mov esi, dword [esp + 0x20]
add esi, 0x50
lea ebx, [esp + 0xc]
call fcn.0059c9d0
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18