joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4403a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x440427
cmp dword [esi + 4], 0xffffffff
jne 0x440427
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4403c6
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x4403f2
cmp ecx, 0x2f
je 0x4403f2
mov dword [esi + eax*2 + 0x244], 0x2f
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
call fcn.0043f280
add esp, 4
test eax, eax
jne 0x44040d
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.0043f740
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ebp
ret 4
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x440f90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4e06b8]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xb4], ebx
mov eax, dword [ebx + 0x9c]
push edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov edi, str._drawable_option_edit_bk
mov eax, esi
call fcn.0042a5b0
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x58], 0x10001
mov dword [esi + 0x5c], 0x10001
movzx eax, word [ecx + 0xa0]
imul eax, dword [ecx + 0xa8]
lea edx, [ecx + 0x94]
lea edi, [esp + 8]
cmp edi, edx
je 0x441002
mov edi, dword [edx + 4]
jmp 0x441006
mov edi, dword [esp + 0xc]
cmp eax, edi
jle 0x44101b
lea eax, [esp + 8]
cmp eax, edx
je 0x441017
mov eax, dword [edx + 4]
jmp 0x44101b
mov eax, dword [esp + 0xc]
movzx ecx, word [ecx + 0xa0]
mov edi, dword [ebx + 8]
mov edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 8], ecx
xor ecx, ecx
lea edi, [edx + edi - 1]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 4]
add edx, ecx
mov dword [esp + 0x1c], edx
cdq
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x10]
idiv ecx
movzx edx, word [esp + 8]
mov dword [esp + 0x18], edi
imul eax, edx
lea eax, [eax + edi + 2]
mov dword [esp + 0x20], eax
mov eax, ebx
call fcn.004384d0
push 2
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
push edi
mov eax, esi
call fcn.00427b80
test al, al
je 0x4410e8
mov edi, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x4410cc
lea ecx, [ecx]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4410c0
mov eax, dword [esi + 0x78]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 4
Function at 0x446080
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x446240
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4460e1
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x4460f3
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x446108
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x446151.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446123
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44612a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x446112
cmp word [ebp - 0x1c], 0
je case.0x446151.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446151.3
movzx esi, byte [esi + 0x446264]
jmp dword [esi*4 + 0x446250]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446151.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446163
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x446151.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4461a6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446151.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x4461d4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446151.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x446207
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00482469
mov esp, ebp
pop ebp
ret
Function at 0x4461f9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x446240
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4460e1
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x4460f3
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x446108
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x446151.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x446123
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x44612a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x446112
cmp word [ebp - 0x1c], 0
je case.0x446151.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x446151.3
movzx esi, byte [esi + 0x446264]
jmp dword [esi*4 + 0x446250]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x446151.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x446163
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x446151.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4461a6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446151.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x4461d4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x446151.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x446207
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00482469
mov esp, ebp
pop ebp
ret
Function at 0x44c2e0
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x44c2e9
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.00484fba
add eax, 0x40
push eax
call fcn.0048516f
add esp, 0xc
push 0x4c8c1c
call fcn.00484fba
add eax, 0x40
push eax
call fcn.0048516f
add esp, 8
test esi, esi
je 0x44c329
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44c329
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x454260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00487e90
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00404bb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00482469
mov esp, ebp
pop ebp
ret

Function at 0x4542d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00487e90
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Avatder
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00404bb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00482469
mov esp, ebp
pop ebp
ret

Function at 0x454510
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0049f7a0
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
lea edx, [ebp - 0x1008]
push edx
lea edx, [ebp - 0x804]
push edx
lea edx, [ebp - 0x100c]
push edx
push 0
push ecx
push eax
mov dword [ebp - 0x100c], 1
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4545ee
mov eax, dword [ebp - 0x100c]
cmp eax, 1
je 0x4545de
cmp eax, 7
je 0x4545de
cmp eax, 2
jne 0x4545c8
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x4545b2
cmp eax, 0x400
ja 0x4545b2
lea eax, [ebp - 0x1004]
push eax
jmp 0x4545e5
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3f4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.004026c0
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00482469
mov esp, ebp
pop ebp
ret 4

Function at 0x454600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, edx
push esi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454610
mov ecx, dword [ebp + 0xc]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 8
Function at 0x4553a0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push eax
push 0x4ca3fc
push 1
push 0
push 0x4ca3ec
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4553e1
push esi
push str.CoCreateInstance_failed:_0x_08lxn
jmp 0x455416
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jns 0x4553fe
push esi
push str.get_LocalPolicy_failed:_0x_08lxn
jmp 0x455416
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
test esi, esi
jns 0x45541e
push esi
push str.get_CurrentProfile_failed:_0x_08lxn
call fcn.0048527b
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x45542d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x45543c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x456280
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x70], 0
call fcn.00414230
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00455fa0
lea ecx, [ebp - 0x6c]
push ecx
lea esi, [ebp - 0x5c]
call fcn.004560b0
lea edx, [ebp - 0x6c]
push edx
push edi
call fcn.004561c0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, edi
pop esi
call fcn.00482469
mov esp, ebp
pop ebp
ret
Function at 0x459cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0d3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e06b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.0040a960
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi], vtable.TiXmlAttribute.0
call fcn.0040a960
lea ecx, [edi + 0x30]
call fcn.0040a960
mov dword [edi + 0x10], ebx
mov dword [edi + 0x50], edi
mov dword [edi + 0x4c], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.00416450
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a2f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x45a329
cmp byte [esi + 0x44], bl
jne 0x45a322
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov eax, dword [str.Failed_to_open_file]
push eax
lea ecx, [esi + 0x4c]
call fcn.00416450
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
xor al, al
pop ebx
pop ebp
ret 4
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x45a342
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [edi + 0x40]
push 1
call eax
test edi, edi
jne 0x45a331
xor eax, eax
push 2
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
or edi, 0xffffffff
push ebx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.004868ce
push ebx
call fcn.004867df
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
mov ebx, eax
call fcn.004868ce
add esp, 0x1c
test ebx, ebx
jg 0x45a3a6
cmp byte [esi + 0x44], 0
jne 0x45a39e
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 0xc
mov edx, dword [str.Error_document_empty.]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416450
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
pop edi
xor al, al
pop ebx
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.004819f2
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push ebx
push edi
mov byte [edi], 0
call fcn.004863e2
add esp, 0x14
cmp eax, 1
je 0x45a403
push edi
call fcn.00482e51
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x45a3fb
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416450
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
pop edi
xor al, al
pop ebx
pop ebp
ret 4
mov byte [edi + ebx], 0
cmp byte [edi], 0
mov eax, edi
mov ecx, edi
je 0x45a42c
mov dl, byte [eax]
cmp dl, 0xd
jne 0x45a423
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x45a427
jmp 0x45a426
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x45a410
push 0
mov byte [ecx], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, esi
call edx
push edi
call fcn.00482e51
add esp, 4
xor eax, eax
cmp byte [esi + 0x44], al
pop edi
sete al
pop ebx
pop ebp
ret 4
Function at 0x45b120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8288
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e06b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], ebx
call fcn.00404330
push 8
call fcn.004826fa
add esp, 4
cmp eax, ebx
je 0x45b236
push eax
push 8
mov dword [esi], eax
xor edi, edi
call fcn.00403880
add esp, 8
cmp eax, ebx
je 0x45b18a
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov dword [ecx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
lea edx, [edi + 0x14]
push edx
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00404330
push 8
call fcn.004826fa
add esp, 4
cmp eax, ebx
je 0x45b21f
push eax
push 8
mov dword [edi], eax
call fcn.00403880
add esp, 8
cmp eax, ebx
je 0x45b1df
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov dword [eax], edi
lea ecx, [esi + 0x30]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.0040a960
lea ecx, [esi + 0x60]
call fcn.0040a960
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [esi + 0x7c], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x20]
call fcn.004045f0
push 0x4d647c
lea eax, [ebp - 0x20]
push eax
call fcn.00487f78
push ebx
lea ecx, [ebp - 0x20]
call fcn.004045f0
push 0x4d647c
lea ecx, [ebp - 0x20]
push ecx
call fcn.00487f78
int3
Function at 0x4607b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a87b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4e06b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 4
mov dword [edi + 0x30], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0xc], ebx
call fcn.004826fa
add esp, 4
cmp eax, ebx
je 0x460817
mov ecx, eax
call fcn.00417040
jmp 0x460819
xor eax, eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x38], eax
lea esi, [ebp + 8]
mov eax, edi
mov dword [edi + 0x3c], ebx
call fcn.00456610
push eax
mov dword [ebp - 4], ebx
call fcn.00459800
add esp, 4
lea ecx, [ebp + 8]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00417100
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, esi
call eax
mov byte [edi + 0x40], al
cmp dword [edi + 0x38], ebx
jne 0x460878
mov eax, dword [edi + 0xc]
or eax, 4
and eax, 0x17
mov dword [edi + 0xc], eax
test dword [edi + 0x10], eax
je 0x460878
push ebx
mov ecx, edi
call fcn.00456550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x460890
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a764b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4e06b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00482266
push 4
mov dword [ebp - 4], 0
call fcn.004826fa
add esp, 4
test eax, eax
je 0x4608e2
mov ecx, eax
call fcn.00417040
jmp 0x4608e4
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4