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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d620
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d4090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 8]
call fcn.0051fadf
push dword [ebx + 0xc]
mov dword [ebx + 8], 0
call fcn.0051fadf
push dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
call fcn.0051fadf
push dword [ebx + 0x18]
mov dword [ebx + 0x10], 0
call fcn.0051fadf
push dword [ebx + 0x1c]
mov dword [ebx + 0x20], 0
call fcn.0051fadf
push dword [ebx + 0x20]
mov dword [ebx + 0x1c], 0
call fcn.0051fadf
push dword [ebx + 0x24]
mov dword [ebx + 0x20], 0
call fcn.0051fadf
push dword [ebx + 0x30]
mov dword [ebx + 0x24], 0
call fcn.0051fadf
push dword [ebx + 0x50]
mov dword [ebx + 0x30], 0
call fcn.0051fadf
push dword [ebx + 0x34]
mov dword [ebx + 0x50], 0
call fcn.0051fadf
mov eax, dword [ebx + 0x44]
add esp, 0x28
mov dword [ebx + 0x34], 0
test eax, eax
je 0x43c98a
xor edi, edi
cmp dword [ebx + 0x48], edi
jle 0x43c981
nop
mov esi, dword [eax + edi*4]
test esi, esi
je 0x43c97b
mov ecx, dword [esi + 0x30]
cmp ecx, 0x10
jb 0x43c95b
mov eax, dword [esi + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x43c951
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c9d9
mov eax, edx
push ecx
push eax
call fcn.0051faa7
add esp, 8
push 0x38
push esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
call fcn.0051faa7
mov eax, dword [ebx + 0x44]
add esp, 8
inc edi
cmp edi, dword [ebx + 0x48]
jl 0x43c920
push eax
call fcn.0051fadf
add esp, 4
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x43c9c0
push fcn.00402ec0
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0x18
push eax
call fcn.005200aa
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.00520097
add esp, 8
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0052eb21
int3
Function at 0x4400b0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 4
je 0x4400d4
xor edx, edx
mov ecx, str.CmvExchangeFlow::Initialize:_exchange_flow_must_be_from_a_soil_unit
call fcn.004c4d70
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
pop esi
cmp eax, 4
je 0x4400f6
xor edx, edx
mov ecx, str.CmvExchangeFlow::Initialize:_exchange_flow__must_be_between_two_soil_units
jmp fcn.004c4d70
ret
Function at 0x469e70
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 4
je 0x469eaa
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 9
je 0x469eaa
xor edx, edx
mov ecx, str.CmvRecharge::Initialize:Recharge_must_go_to_soil_or_groundwater_unit
pop esi
jmp fcn.004c4d70
pop esi
ret
Function at 0x47f670
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 4
je 0x47f6aa
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 9
je 0x47f6aa
xor edx, edx
mov ecx, str.CmvBaseflow::Initialize:Baseflow_must_come_from_soil_or_groundwater_unit
pop esi
jmp fcn.004c4d70
pop esi
ret

Function at 0x47ffe0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 4
je 0x480004
xor edx, edx
mov ecx, str.CmvPercoclation::Initialize:_percolation_must_be_from_a_soil_unit
call fcn.004c4d70
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
pop esi
cmp eax, 4
je 0x48002b
cmp eax, 9
je 0x48002b
xor edx, edx
mov ecx, str.CmvPercoclation::Initialize:_percolation_must_be_between_two_soil_or_groundwater_units
jmp fcn.004c4d70
ret

Function at 0x4857f0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 5
je 0x485814
xor edx, edx
mov ecx, str.CmvCanopyEvap::Initialize:Canopy_evaporation_must_come_from_canopy_unit
call fcn.004c4d70
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
pop esi
cmp eax, 1
je 0x485836
xor edx, edx
mov ecx, str.CmvCanopyEvap::Initialize:Canopy_evaporation_must_go_to_atmosphere
jmp fcn.004c4d70
ret

Function at 0x485c40
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 8]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
cmp eax, 6
je 0x485c64
xor edx, edx
mov ecx, str.CmvCanopySublimation::Initialize:Canopy_evaporation_must_come_from_canopy_unit
call fcn.004c4d70
mov ecx, dword [0x5d8004]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 4]
pop esi
cmp eax, 1
je 0x485c86
xor edx, edx
mov ecx, str.CmvCanopySublimation::Initialize:Canopy_evaporation_must_go_to_atmosphere
jmp fcn.004c4d70
ret
Function at 0x4d46a0
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, 0x59705b
lea esi, [edi + 0x228]
mov ecx, esi
call fcn.00410fc0
test al, al
je 0x4d46cb
cmp dword [esi + 0x14], 0x10
jb 0x4d46c2
mov esi, dword [esi]
push esi
call fcn.0054c0f0
add esp, 4
lea eax, [edi + 0x210]
pop edi
pop esi
cmp eax, 0x5d4bc0
je 0x4d46f2
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4d46e4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x5d4bc0
call fcn.00402080
ret
Function at 0x520d1b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x520d5a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x520d5a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x520d5a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x520d5a
cmp dword [ecx + 0x74], 0xe
jbe 0x520d5a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x55a138
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00559d30

Function at 0x56723e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00566c1c

Function at 0x567726
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005675fa

Function at 0x575170
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x57519d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x57519d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x48]
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x40103a
dec al
je 0x4010a7
dec al
je 0x40110e
add byte [eax], al
invalid
dec al
je 0x4011bb
jmp 0x401296
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
inc eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
test eax, eax
jbe 0x401296
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x48]
xor al, 1
and eax, 0x7f
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 + 0x40]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x48]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx*4 + 0x40]
mov ecx, dword [ebp - 0x1c]
add al, byte [edx + ecx]
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x48]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx*4 + 0x40]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], al
mov eax, 0x100
lock cmpxchg byte [0x5bb718], ah
je 0x401132
push 0
call 0x400bca
mov eax, 0x100
lock cmpxchg byte [0x5bb718], ah
je 0x401132
push 0xa
call 0x400bca
jmp 0x401101
movsx esi, byte [ebx + 1]
and esi, dword [0x5bb724]
je 0x4011ae
bsf eax, esi
lea esi, [eax*8]
mov ecx, dword [eax*4 + 0x5bb728]
bsf ecx, ecx
lea ecx, [ecx + esi*4]
lea edi, [ecx*8 + 0x5bb7a8]
mov esi, dword [edi + 4]
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov dword [edx], edi
cmp edi, edx
jne 0x401182
mov edx, 0xfffffffe
rol edx, cl
and dword [eax*4 + 0x5bb728], edx
jne 0x401182
btr dword [0x5bb724], eax
mov edi, 0xfffffff0
and edi, dword [esi - 4]
cmp edi, 0x10a60
jb 0x4011fe
mov edx, edi
movzx edi, word [ebx + 0x1a]
sub edx, edi
lea eax, [edi + esi]
lea ecx, [edx + 3]
mov dword [eax - 4], ecx
mov dword [edx + eax - 8], edx
call 0x400e06
jmp 0x401203
movzx ecx, word [ebx + 0x18]
mov edi, dword [0x5bb720]
cmp edi, ecx
jb 0x4011e2
mov esi, dword es:[0x5bb71c]
mov esi, dword [0x5bb71c]
movzx ecx, word [ebx + 0x1a]
lea edx, [ecx + 0xb30]
cmp edi, edx
jb 0x4011d2
mov edi, ecx
sub esi, edi
sub dword [0x5bb720], edi
mov dword [0x5bb71c], esi
jmp 0x401203
movzx eax, word [ebx + 0x1a]
mov edi, eax
call 0x400ed2
mov esi, eax
test eax, eax
jne 0x401203
mov byte [0x5bb718], al
mov byte [ebx], al
pop edi
pop esi
pop ebx
ret
and byte [edi + esi - 4], 0xf7
lea ecx, [edi + 6]
mov dword [esi - 4], ecx
xor eax, eax
mov byte [0x5bb718], al
mov dword [esi], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
mov dword [ebx + 0x10], esi
lea eax, [esi + 0x20]
movzx ecx, word [ebx + 2]
lea edx, [ecx + eax]
mov dword [ebx + 8], edx
add edi, esi
sub edi, ecx
mov dword [ebx + 0xc], edi
mov byte [ebx], 0
mov dword [eax - 4], esi
pop edi
pop esi
pop ebx
ret

Function at 0x417f72
Capabilities:
Link function at runtime on windows

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x417f8c
Function at 0x45ce16
Capabilities:
Encode data using xor

Disassembly:
fnsave dword [ecx - 0x55dc0cad]
mov ebx, 0xf60ad3da
xchg ebp, eax
xor edx, edx
xchg ebx, eax
xchg edx, eax
ja fcn.0045cdee
invalid

Function at 0x45d0d6
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
rcl dword [ebx - 0x39297849], 0x89
out dx, eax
fbstp tbyte [edi - 0x34]
cmp dword [ecx + 0x377a877c], ecx
das
jno 0x45d13d
sbb esi, ebp
call esi
xor byte [eax + 0x7fe248d4], al
mov dl, 0x67
pop ebp
mov ah, 0x1e
sar byte [esi - 0x78], 0x94
test al, 0xe6
les eax, [ebx + esi*4 - 0x5d]
mov esi, 0xf99dfbb5
sti
loope 0x45d0ec
nop
mov ch, 0xe5
shr dword [ebp + 0x5075672c], 0x1a
inc edi
sbb al, 0x1b
pop ebp
dec esi
push 0x37
pop edx
sub bh, byte [eax - 0x553f20ef]
test dl, dl
xchg dword [ecx], edi
sal byte [eax - 0x7b12838b], 0x82
add byte [eax], al
add dh, bh
enter 0xffffffffffff840f, 0xffffffffffffffe1
xchg byte [ecx], al
add byte [eax], al
jmp 0x45d3a2
Function at 0x4bb771
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33c8
cmp edx, dword [eax]
je 0x4bb793
add eax, 8
inc ecx
cmp eax, 0x4c3458
jl 0x4bb784
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33c8]
jne 0x4bb8c1
mov eax, dword [0x4c8df0]
cmp eax, 1
je 0x4bb89b
test eax, eax
jne 0x4bb7c4
cmp dword [0x4c32f4], 1
je 0x4bb89b
cmp edx, 0xfc
je 0x4bb8c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb7fb
lea eax, [ebp - 0x1a4]
push 0x4c09b8
push eax
call fcn.004bc150
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc5e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb83e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc5e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09b4
push edi
call fcn.004be4b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0998
push eax
call fcn.004bc150
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc160
lea eax, [ebp - 0xa0]
push 0x4c0994
push eax
call fcn.004bc160
push dword [esi + 0x4c33cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc160
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c096c
push eax
call fcn.004be424
add esp, 0x2c
pop edi
jmp 0x4bb8c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33cc]
push 0
push eax
push dword [esi]
call fcn.004bc5e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x418e62
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x60b1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.0056dbc0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.0057fa5e
push eax
call fcn.00403088
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5bb7d8]
je 0x418fc0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x418fd4
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x418fd4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x418f1e
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x418f12
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00418b06
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x418f19
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418f20
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041916f
test eax, eax
je 0x418f47
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00418913
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x418f4b
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041916f
test eax, eax
je 0x418f72
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00418913
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x418f76
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041916f
test eax, eax
je 0x418f9e
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.00418913
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x418fa0
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x418fb2
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x418fc0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005616bd
leave
ret 4
xor eax, eax
jmp 0x418fc3
Function at 0x4191b7
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x4191f8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x419207
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x419207
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x5aba34]
call edi
jmp 0x419209
cmp dword [esi + 4], 0
je 0x419207
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x41920f
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x60b1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x419250
lea eax, [ebp - 0x28]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00418b06
neg eax
sbb ebx, ebx
and ebx, dword [ebp - 0x28]
jmp 0x419259
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x419384
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x419291
test bl, 1
je 0x419291
push ecx
push edi
test esi, esi
je 0x419280
mov ecx, esi
call fcn.004191b7
jmp 0x419286
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x419384
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 8]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x41934b
lea eax, [ebp - 0x50]
push eax
push ecx
call fcn.00418989
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 0x10]
mov eax, dword [edx]
or eax, dword [edx + 4]
je 0x4192cd
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00418989
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x4192e6
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.00418989
pop ecx
lea eax, [ebp - 0x48]
pop ecx
mov dword [ebp - 0x38], eax
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edi
test esi, esi
je 0x419306
mov ecx, esi
call fcn.00418a30
jmp 0x41930c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x419384
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x41933e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
jmp 0x41938c
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x419384
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x20], ebx
je 0x419373
test bl, 1
jne 0x419373
push dword [eax + 0x20]
push edi
test esi, esi
je 0x419369
mov ecx, esi
call fcn.004191b7
jmp 0x41936f
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x419384
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005616bd
leave
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046e4f2
int3
Function at 0x41ddc3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x41de02
call fcn.0042ae6e
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41de02
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41de0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0041b1d8
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41e841
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41e8cd
cmp dword [esi + 0x20], 0
je 0x41e8cd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e8cd
cmp dword [ebp + 8], 0
je 0x41e8cd
xor edi, edi
mov ebx, edi
call fcn.0042ae6e
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x41e8b1
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e8cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004719c4
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41e8c9
mov ecx, esi
call fcn.0041e5d8
mov eax, edi
jmp 0x41e8cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x423444
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x594af2
call fcn.005616fd
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42346a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4234c4
lea ecx, [ebp - 0x10]
call fcn.00402201
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5aba34]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057fa5e
push eax
call fcn.00403088
add esp, 0x14
test esi, esi
je 0x4234b7
push esi
call fcn.00571920
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405f71
mov eax, ebx
call fcn.005616cb
ret 8
Function at 0x4239b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x4239fe
call fcn.0042ae6e
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4239fe
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423a0b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x423a47
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x423a2a
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x423a33
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x423a45
test di, di
jne 0x423a45
test dx, dx
je 0x423a47
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x423a4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x423a77
cmp dword [esi + 0x80], 0
jne 0x423a77
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.0042ae6e
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x423aa7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423aa7
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00423d0e
jmp 0x423aa9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x423ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.0042ae6e
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x423af0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423af0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00423af8
jmp 0x423af2
xor eax, eax
pop edi
pop esi
pop ebp
ret 8