joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ef26
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x18], 1
je 0x40ef3f
cmp dword [ebp + 0x18], 2
jne 0x40ef44
mov eax, dword [ebp + 8]
jmp 0x40ef5e
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call fcn.00428540
cmp eax, 0xffffffff
jne 0x40ef70
mov dword [ebp - 0xc], 1
je 0x40effc
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x18], 2
jne 0x40ef87
push dword [ebp + 0xc]
pop dword [ebp - 0x18]
push dword [ebp + 0x10]
pop dword [ebp - 0x10]
jmp 0x40efbf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.00428576
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.0042865a
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.00428624
mov dword [ebp - 8], eax
push dword [ebp - 8]
call fcn.00428636
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00428684
or eax, eax
jne 0x40efde
mov dword [ebp - 0xc], 1
push dword [ebp - 0x14]
call fcn.00428528
cmp dword [ebp + 0x18], 2
je 0x40effc
push dword [ebp - 8]
call fcn.00428528
push dword [ebp - 4]
call fcn.00428528
mov eax, dword [ebp - 0xc]
leave
ret 0x14

Function at 0x40f003
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
call fcn.0040ee1b
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call fcn.0040edfe
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00428684
or eax, eax
jne 0x40f045
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
leave
ret 8
Function at 0x412e6e
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff990
push edx
lea eax, [ebp - 0x654]
push eax
push 0x104
call fcn.00428594
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x550]
push eax
push 0x104
call fcn.00428594
mov dword [ebp - 0x4c], 0x4c
mov eax, dword [0x43c160]
mov dword [ebp - 0x48], eax
push 0x400
push 0x44ed9f
call fcn.00428642
push str.EXE_file
call fcn.004286a2
mov dword [ebp - 0x66c], eax
inc dword [ebp - 0x66c]
push dword [ebp - 0x66c]
push 0x44ed9f
push str.EXE_file
call fcn.0042b450
mov eax, dword [ebp - 0x66c]
add eax, 0x44ed9f
mov dword [ebp - 0x66c], eax
push 6
push dword [ebp - 0x66c]
push str..exe
call fcn.0042b450
mov dword [ebp - 0x40], 0x44ed9f
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x32
mov dword [ebp - 0x34], 1
push 0x43c18c
call fcn.004286a2
mov ebx, 0
jmp 0x412f40
mov bl, byte [eax + 0x43c18c]
dec eax
cmp eax, 0
jbe 0x412f4a
cmp bl, 0x5c
jne 0x412f39
add eax, 2
add eax, 0x43c18c
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0042869c
lea eax, [ebp - 0x150]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x550]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], str.Save_EXE_Book:
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x18], 0x806
mov word [ebp - 0x14], 0
mov word [ebp - 0x12], 0
lea eax, [ebp - 0x668]
mov byte [eax], 0
push 0x43d617
push eax
call fcn.0042b400
lea eax, [ebp - 0x668]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x4c]
push eax
call sub.37475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB
cmp eax, 1
jne 0x413011
push 0x400
lea eax, [ebp - 0x550]
push eax
call fcn.00428642
push dword [ebp - 0x670]
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x550]
push eax
call fcn.004166df
push 0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x550]
push eax
call fcn.0042853a
pop edx
leave
ret
Function at 0x4146a9
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb98
push 0x104
lea eax, [ebp - 0x158]
push eax
call fcn.00428642
push dword [ebp + 0xc]
lea eax, [ebp - 0x158]
push eax
call fcn.0042868a
push 0x437c6c
push 0
push str.dnlbook
push 0x104
lea eax, [ebp - 0x158]
push eax
call fcn.0040b3cb
cmp eax, 0xffffffff
je 0x4147b7
mov dword [ebp - 0x468], eax
push dword [ebp + 8]
push dword [ebp - 0x468]
call fcn.0040f003
or eax, eax
jne 0x4147ac
push 0x104
lea eax, [ebp - 0x25c]
push eax
call fcn.004285d6
push str.dbplugin.exe
lea eax, [ebp - 0x25c]
push eax
call fcn.0042868a
cmp dword [ebp + 0x10], 0
jne 0x41474f
push 0x437c7f
lea eax, [ebp - 0x464]
push eax
call fcn.0042869c
jmp 0x414760
push 0x437c82
lea eax, [ebp - 0x464]
push eax
call fcn.0042869c
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.0042868a
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.00428642
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00428546
push dword [ebp - 0x468]
call fcn.00428528
leave
ret 0xc

Function at 0x4147bb
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.00428642
lea eax, [ebp - 0x104]
push eax
push 0x104
call fcn.004285ca
test eax, eax
je 0x414822
push str.dnadwb
lea eax, [ebp - 0x104]
push eax
call fcn.0042868a
cmp dword [ebp + 8], 0
je 0x414818
dec dword [ebp + 8]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.004146a9
jmp 0x414822
push 0x43c498
call fcn.00428552
leave
ret 8
Function at 0x416501
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ecx
push ebx
push 0x400
push 0x44ed9f
call fcn.00428642
lea eax, [ebp - 0x108]
push eax
push 0x104
call fcn.00428594
push eax
lea eax, [ebp - 0x108]
push eax
push 0x44ed9f
call fcn.004166df
mov dword [ebp - 4], 0x44ed9f
push dword [ebp - 4]
call fcn.004286a2
mov dword [ebp - 8], eax
push 0x100
lea eax, [ebp - 0x108]
push eax
call fcn.00428642
push dword [ebp - 8]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 4]
call fcn.0042b450
mov eax, 1
jmp 0x41658c
push 0x43c5ad
push dword [ebp - 4]
push 1
call fcn.0042b2f8
add dword [ebp - 4], eax
or eax, eax
jne 0x41657a
mov byte [0x44d8c0], 0
push dword [ebp - 4]
push 0x44d8c0
call fcn.0042b400
cmp dword [0x43c93f], 1
jne 0x4165bc
push dword [0x44d850]
push 0
call fcn.0040a1e8
jmp 0x4165ca
push str.This_email_attachment_has_been_sent_to_you_by_a_person_using_a_SendMail_facility_inside_the_DigitalWebBook._r_n_r_nPlease_refer_to_the_From:_line_in_the_header_of_this_e_mail_to_identify_the_sender._Please_note_that_if_you_can_not_view_the_attached_file_you_should_download_the_DigitalWebBook_plug_in_viewer_from_www.DigitalWebBooks.com_plugin._When_prompted__either_Open_or_Run_from_current_location._The_plug_in_viewer_will_be_automatically_installed_on_opening._Click_on_the_close_button_to_exit._r_n_r_nOnce_you_have_downloaded_the_152k_plug_in_viewer_which_will_take_approximately_30_seconds_on_a_56k_modem_you_will_be_able_to_view_DigitalWebBooks_in_the_.dnl_format._r_n_r_nEnjoy_the_DigitalWebBook_experience.
push 0x34
push 1
call fcn.00409f04
mov dword [ebp - 4], eax
push 0x43c5b2
push 0x44d5fc
call fcn.0040a68f
push 0x43c5b2
push 0x44d5fc
call fcn.0040a68f
push dword [ebp - 4]
push 0x44d5fc
call fcn.0040a68f
cmp dword [0x43e053], 0
je 0x416610
push 0
push dword [0x43e053]
call fcn.0040a1e8
jmp 0x416616
lea eax, [0x43cf2a]
mov dword [ebp - 8], eax
push 0x43c5a9
push 0x44d5f0
call fcn.0040a68f
push 0x43c5d0
push 0x44d5f0
call fcn.0040a68f
push 0x43c5a9
push 0x44d5f0
call fcn.0040a68f
push dword [ebp - 8]
push 0x44d5f0
call fcn.0040a68f
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
cmp dword [0x44d60c], 0
je 0x416676
push dword [0x44d608]
pop dword [ebp - 4]
inc dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 4]
push 0x44d8c0
lea eax, [ebp - 0x108]
push eax
push 0x44d940
push 0x44d940
push dword [0x44d5fc]
push dword [0x44d5f0]
push 1
push dword [ebp - 8]
call fcn.0041683c
or eax, eax
je 0x4166db
jmp 0x4166b1
push eax
push 0x4166ae
push 0x44f59f
call fcn.004286b4
add esp, 0xc
push 0
push 0x44f59f
push 0x44f59f
push dword [0x43c160]
call fcn.004288ca
pop ebx
pop ecx
leave
ret
Function at 0x417982
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
cmp dword [0x43c5ff], 0
jne 0x4179ea
push dword [0x43ca47]
call fcn.004289d8
mov dword [0x43c5ff], eax
cmp eax, 0
je 0x417b6b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x43ca47]
call fcn.004289d2
or eax, eax
jne 0x4179d9
push dword [0x43c5ff]
call fcn.00428a14
mov dword [0x43c5ff], 0
jmp 0x417b6b
push eax
push dword [0x43c5ff]
call fcn.00428ace
mov dword [0x43c603], eax
cmp dword [0x43c607], 1
jne 0x417ac1
lea eax, [ebp - 0x20]
push eax
push dword [0x43c160]
call fcn.00428846
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x14], eax
push 0
call fcn.0040d9d7
mov dword [0x43e117], 1
mov dword [0x43e0f3], 1
push 1
push 1
push 1
push 0
push 0
push dword [0x43c160]
call fcn.004288d6
mov dword [0x43e0f3], 0
mov dword [0x43e117], 0
cmp dword [0x43c752], 1
jne 0x417a83
lea eax, [ebp - 0x30]
push eax
push dword [0x44d72c]
call fcn.00428846
push 0
push 1
push 1
push 0
push 0
push dword [0x44d72c]
call fcn.004288d6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
add eax, dword [ebp + 0x10]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
add eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x417b6f
call fcn.0042876e
cmp dword [0x43c68b], 1
jne 0x417ac1
mov dword [0x43c68b], 0
leave
ret 0x10
cmp dword [0x44f607], 5
jbe 0x417ad4
push 0xc8
call fcn.00428660
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x43ca47]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push dword [0x43c5ff]
call fcn.004289c0
cmp dword [0x43c607], 1
jne 0x417b6b
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [0x43c160]
call fcn.004288d6
cmp dword [0x43c752], 1
jne 0x417b4a
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [0x44d72c]
call fcn.004288d6
push dword [0x43ca95]
call fcn.004176eb
cmp eax, 1
jne 0x417b61
push 0
call fcn.004184a4
mov dword [0x43c68b], 0
leave
ret 0x10
Function at 0x418eb7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push edi
push esi
push edx
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x14], 3
jne 0x418ed2
mov dword [ebp - 4], 0x3c
jmp 0x418ed9
mov dword [ebp - 4], 0x20
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
call fcn.0042866c
or eax, eax
je 0x418f3d
mov esi, eax
push dword [ebp + 0xc]
pop dword [esi + 8]
push dword [ebp + 0x14]
pop dword [esi + 0x10]
push dword [ebp + 0x10]
pop dword [esi + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.0041bdf7
mov dword [esi + 0xc], eax
cmp dword [ebp + 0x14], 3
jne 0x418f19
lea edx, [edi + 0xc]
jmp 0x418f1c
lea edx, [edi + 0x18]
cmp dword [edx + 4], 0
jne 0x418f26
mov dword [edx], esi
jmp 0x418f35
mov eax, esi
mov esi, dword [edx + 4]
mov dword [esi], eax
mov esi, eax
push dword [edx + 4]
pop dword [esi + 4]
mov dword [edx + 4], esi
inc dword [edx + 8]
mov eax, esi
pop edx
pop esi
pop edi
leave
ret 0x10

Function at 0x418f44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push edi
push esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
add eax, 0x3e8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [edi + 0x18], eax
jg 0x41901b
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jg 0x41901b
push 0x40
push 0x1000
push 0x2c
push 0
call fcn.0042866c
or eax, eax
je 0x419014
mov esi, eax
push esi
push dword [edi]
call fcn.00418d1f
or eax, eax
jne 0x418fa6
push 0x8000
push 0
push esi
call fcn.00428672
jmp 0x419014
cmp dword [edi + 0xc], 0
jne 0x418fb1
mov dword [edi + 8], esi
jmp 0x418fc0
mov eax, esi
mov esi, dword [edi + 0xc]
mov dword [esi], eax
mov esi, eax
push dword [edi + 0xc]
pop dword [esi + 4]
mov dword [edi + 0xc], esi
inc dword [edi + 0x10]
push dword [edi]
pop dword [esi + 8]
push 0x419b93
push dword [esi + 0x18]
call fcn.00419dd1
mov dword [esi + 0x18], eax
lea eax, [esi + 0x18]
push eax
call fcn.00419209
push 0x419f00
push dword [esi + 0xc]
call fcn.00419e24
or eax, eax
je 0x418ff8
mov dword [esi + 0xc], eax
lea eax, [esi + 0xc]
push eax
call fcn.00419209
push esi
call fcn.00419a53
push esi
call fcn.0041931e
push esi
push edi
call fcn.00419021
inc dword [edi]
jmp 0x418f5a
pop esi
pop edi
leave
ret 4
Function at 0x419021
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x28], 0
jbe 0x4190b9
cmp dword [esi + 0x24], 0
je 0x4190b9
push dword [edi + 0x18]
pop dword [ebp - 8]
mov eax, dword [esi + 0x28]
add dword [edi + 0x18], eax
cmp dword [edi + 0x14], 0
jne 0x419059
push dword [esi + 0x24]
pop dword [edi + 0x14]
jmp 0x4190b3
mov eax, dword [edi + 0x18]
inc eax
push 0x40
push 0x1000
push eax
push 0
call fcn.0042866c
or eax, eax
je 0x4190b3
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 0
je 0x419093
push dword [edi + 0x14]
push dword [ebp - 4]
call fcn.0042869c
push 0x8000
push 0
push dword [edi + 0x14]
call fcn.00428672
push dword [ebp - 4]
pop dword [edi + 0x14]
push dword [esi + 0x24]
push dword [edi + 0x14]
call fcn.0042868a
push 0x8000
push 0
push dword [esi + 0x24]
call fcn.00428672
push dword [ebp - 8]
pop dword [esi + 0x24]
pop esi
pop edi
leave
ret 8

Function at 0x4190bf
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x1c]
dec eax
jmp 0x4190df
mov dword [ebp - 4], esi
mov esi, dword [esi]
or esi, esi
je 0x4190e8
cmp eax, dword [esi + 0x24]
ja 0x4190da
or esi, esi
jne 0x4190fb
cmp dword [ebp - 4], 0
je 0x4190fb
mov esi, dword [ebp - 4]
push dword [esi + 4]
pop dword [ebp - 4]
cmp dword [ebp - 4], 0
je 0x4191a5
or esi, esi
je 0x4191a5
mov dword [ebp - 8], esi
push dword [esi + 0x24]
pop dword [ebp - 0x10]
mov eax, dword [edi + 0x18]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
inc eax
push 0x40
push 0x1000
push eax
push 0
call fcn.0042866c
or eax, eax
je 0x4191a5
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
add eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.0042869c
push 0x8000
push 0
push dword [edi + 0x14]
call fcn.00428672
push dword [ebp - 0x18]
pop dword [edi + 0x14]
push dword [ebp - 0x14]
pop dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
sub dword [edi + 0x1c], eax
mov esi, dword [ebp - 4]
jmp 0x419187
push dword [esi + 4]
pop dword [ebp - 0xc]
push esi
call fcn.0041925e
push 0x8000
push 0
push esi
call fcn.00428672
mov esi, dword [ebp - 0xc]
or esi, esi
jne 0x41916b
mov esi, dword [ebp - 8]
mov dword [edi + 8], esi
mov eax, dword [ebp - 0x10]
jmp 0x4191a1
push dword [esi]
pop dword [ebp - 0xc]
sub dword [esi + 0x24], eax
mov esi, dword [ebp - 0xc]
or esi, esi
jne 0x419196
pop esi
pop edi
leave
ret 4
Function at 0x41944a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push dword [esi + 0x1c]
pop dword [ebp - 4]
push dword [edi + 0x14]
pop dword [ebp - 0xc]
mov eax, dword [esi + 0x24]
and eax, 1
je 0x4194df
mov eax, dword [esi + 0x20]
inc eax
push 0x40
push 0x1000
push eax
push 0
call fcn.0042866c
or eax, eax
jne 0x419496
jmp 0x419534
mov dword [ebp - 8], eax
push eax
push dword [ebp - 4]
push eax
call fcn.0042868a
pop dword [ebp - 4]
push dword [ebp - 4]
call fcn.004286cc
mov eax, dword [edi + 0x18]
inc eax
push 0x40
push 0x1000
push eax
push 0
call fcn.0042866c
or eax, eax
jne 0x4194c7
jmp 0x419534
mov dword [ebp - 0x10], eax
push eax
push dword [ebp - 0xc]
push eax
call fcn.0042868a
pop dword [ebp - 0xc]
push dword [ebp - 0xc]
call fcn.004286cc
mov eax, dword [edi + 0x18]
sub eax, dword [esi + 0x20]
js 0x419534
inc eax
mov dword [ebp - 0x14], eax
jmp 0x41952f
mov eax, dword [edi + 0x1c]
dec eax
add eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
push 1
call fcn.0040b6e8
cmp eax, 0
jbe 0x419525
push eax
add eax, dword [esi + 0x20]
push dword [edi + 0x1c]
pop dword [ebp - 0x18]
add dword [edi + 0x1c], eax
pop eax
add eax, dword [ebp - 0x18]
dec eax
dec eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041959a
jmp 0x41952c
mov eax, dword [edi + 0x18]
inc eax
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp dword [edi + 0x1c], eax
jbe 0x4194ed
cmp dword [ebp - 8], 0
je 0x419549
push 0x8000
push 0
push dword [ebp - 8]
call fcn.00428672
cmp dword [ebp - 0x10], 0
je 0x41955e
push 0x8000
push 0
push dword [ebp - 0x10]
call fcn.00428672
pop esi
pop edi
leave
ret 8
Function at 0x41959a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419564
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4196dd
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.004196e4
mov dword [ebp - 8], eax
or eax, eax
je 0x4196dd
push 0x40
push 0x1000
push 0x30
push 0
call fcn.0042866c
or eax, eax
jne 0x4195ed
jmp 0x4196dd
mov esi, dword [ebp - 8]
mov ebx, eax
mov edi, dword [ebp + 8]
push dword [esi + 8]
pop dword [edi + 0x18]
push dword [esi + 8]
pop dword [ebx + 8]
push dword [esi + 0xc]
pop dword [ebx + 0xc]
cmp dword [edi + 0x14], 0
jne 0x419613
push dword [esi + 8]
pop dword [edi + 0x14]
cmp dword [edi + 8], 0
jne 0x41961e
mov dword [edi + 8], ebx
jmp 0x419626
mov esi, dword [edi + 0xc]
mov dword [esi], ebx
mov dword [ebx + 4], esi
mov dword [edi + 0xc], ebx
inc dword [edi + 0x10]
push dword [edi + 0x10]
pop dword [ebx + 0x28]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add eax, dword [edi + 0x20]
add eax, 0x50
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x50
mov dword [ebp - 0xc], eax
push dword [esi + 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x18]
call fcn.0041aad0
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4196dd
inc dword [ebp - 0x10]
push str._...
call fcn.004286a2
mov dword [ebp - 0x18], eax
add eax, dword [ebp - 0x10]
push 0x40
push 0x1000
push eax
push 0
call fcn.0042866c
or eax, eax
jne 0x419691
jmp 0x4196dd
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
dec eax
push eax
push dword [ebx + 0x1c]
push dword [ebp - 0x14]
call fcn.0042b450
push str._...
push dword [ebx + 0x1c]
call fcn.0042868a
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebx + 0x20], eax
add eax, dword [edi + 0x20]
push dword [edi + 0x20]
pop dword [ebx + 0x24]
cmp eax, dword [ebp - 0x10]
jbe 0x4196d7
sub eax, dword [ebp - 0x10]
sub dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x24], eax
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x41986f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x419888
jmp 0x419913
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 1
jne 0x4198ac
add eax, dword [ebp + 0xc]
dec eax
cmp byte [eax], 0x20
je 0x4198a9
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
inc dword [ebp - 8]
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
call fcn.0042866c
or eax, eax
je 0x419913
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x24], 0
je 0x4198e8
push dword [edi + 0x24]
push eax
call fcn.0042869c
push 0x8000
push 0
push dword [edi + 0x24]
call fcn.00428672
push dword [ebp - 0x10]
pop dword [edi + 0x24]
push dword [ebp + 0xc]
push dword [edi + 0x24]
call fcn.0042868a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
jae 0x41990a
add eax, dword [edi + 0x24]
add eax, dword [edi + 0x28]
mov byte [eax], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
add dword [edi + 0x28], eax
mov eax, dword [ebp - 4]
pop edi
leave
ret 0x10

Function at 0x419ae8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
push edi
mov dword [ebp - 0xc], 0
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x14]
cmp dword [edi + 0x18], 0
jne 0x419b08
jmp 0x419b8a
push dword [edi + 0x14]
call fcn.0040f992
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x24], 1
jne 0x419b1e
shl eax, 1
add eax, 2
mov dword [ebp - 8], eax
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
call fcn.0042866c
or eax, eax
jne 0x419b3b
jmp 0x419b8a
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x24], 1
jne 0x419b7c
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [edi + 0x18]
push dword [ebp - 4]
push 0
push dword [esi + 0x28]
call fcn.0042867e
or eax, eax
jne 0x419b8a
push 0x8000
push 0
push dword [ebp - 0xc]
call fcn.00428672
mov dword [ebp - 0xc], 0
jmp 0x419b8a
push dword [edi + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0042b450
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 4

Function at 0x41a0e6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
push edi
mov esi, dword [ebp + 8]
push 0x40
push 0x1000
push dword [ebp + 0xc]
push 0
call fcn.0042866c
mov dword [ebp - 4], eax
or eax, eax
je 0x41a126
mov edi, eax
cmp dword [esi + 4], 0
jne 0x41a115
mov dword [esi], eax
jmp 0x41a120
push dword [esi + 4]
pop dword [edi + 4]
mov edi, dword [esi + 4]
mov dword [edi], eax
mov dword [esi + 4], eax
inc dword [esi + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8