joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1300dbf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
jmp 0x1300dc08
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x1303f368]
jbe 0x1300dd3d
mov ecx, dword [ebp - 4]
add ecx, 0x384
mov dword [0x1303f368], ecx
cmp dword [0x1303f36c], 0
jne 0x1300dd33
mov dword [0x1303f36c], 1
mov edx, dword [0x1303f330]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4ea914]
mov dword [0x1303f990], ecx
push 0x1300daa0
mov edx, dword [ebp - 8]
add edx, 0x4ea914
push edx
call fcn.13001090
add esp, 8
push 0x1300c340
push 1
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300c510
push 2
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300d1e0
push 3
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300d270
push 4
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300c660
push 5
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300c910
push 6
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300d510
push 0xf
mov ecx, 0x1303f368
call fcn.1300c2e0
push 0x1300c920
push 0x11
mov ecx, 0x1303f368
call fcn.1300c2e0
mov ecx, 0x1303fb58
call fcn.1301a4e0
mov ecx, 0x1303faa0
call fcn.13013ac0
mov ecx, 0x1303faa0
call fcn.13015f90
push 0
push 0
push 0x1300c760
call fcn.1301c6c9
add esp, 0xc
mov dword [0x1303f388], eax
jmp 0x1300dd3d
mov ecx, 0x1303faa0
call fcn.130182d0
jmp 0x1300dd4f
mov esp, ebp
pop ebp
ret
Function at 0x13010b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13033108
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1303de70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.1301a83d
mov dword [esp + 0x28], 0
mov edi, dword [0x1303fa7c]
mov ecx, 0x1303fbd4
mov dword [esp + 0xc], edi
call fcn.130028f0
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x13010b9b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x13010b9f
cmp byte [eax + 0x14], 0
je 0x13010b9f
call fcn.1301a8cb
cmp esi, dword [eax + 0xc]
jae 0x13010ba5
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13010ba1
xor ecx, ecx
jmp 0x13010b83
mov esi, ecx
test esi, esi
jne 0x13010bf6
test edi, edi
je 0x13010bad
mov esi, edi
jmp 0x13010bf6
lea eax, [esp + 0xc]
push eax
call fcn.130101b0
add esp, 4
cmp eax, 0xffffffff
jne 0x13010bdc
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.1301b91b
push 0x1303a008
lea ecx, [esp + 0x18]
push ecx
call fcn.1301c039
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1303fa7c], esi
call fcn.13002970
push esi
call fcn.1301a999
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1301a85e
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x13010ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13033108
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1303de70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.1301a83d
mov dword [esp + 0x28], 0
mov edi, dword [0x1303fa80]
mov ecx, 0x1303fa94
mov dword [esp + 0xc], edi
call fcn.130028f0
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x1301106b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x1301106f
cmp byte [eax + 0x14], 0
je 0x1301106f
call fcn.1301a8cb
cmp esi, dword [eax + 0xc]
jae 0x13011075
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13011071
xor ecx, ecx
jmp 0x13011053
mov esi, ecx
test esi, esi
jne 0x130110c6
test edi, edi
je 0x1301107d
mov esi, edi
jmp 0x130110c6
lea eax, [esp + 0xc]
push eax
call fcn.13010dc0
add esp, 4
cmp eax, 0xffffffff
jne 0x130110ac
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.1301b91b
push 0x1303a008
lea ecx, [esp + 0x18]
push ecx
call fcn.1301c039
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1303fa80], esi
call fcn.13002970
push esi
call fcn.1301a999
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1301a85e
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x130110f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13033108
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1303de70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.1301a83d
mov dword [esp + 0x28], 0
mov edi, dword [0x1303fa84]
mov ecx, 0x1303fa90
mov dword [esp + 0xc], edi
call fcn.130028f0
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x1301116b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x1301116f
cmp byte [eax + 0x14], 0
je 0x1301116f
call fcn.1301a8cb
cmp esi, dword [eax + 0xc]
jae 0x13011175
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13011171
xor ecx, ecx
jmp 0x13011153
mov esi, ecx
test esi, esi
jne 0x130111c6
test edi, edi
je 0x1301117d
mov esi, edi
jmp 0x130111c6
lea eax, [esp + 0xc]
push eax
call fcn.13010e40
add esp, 4
cmp eax, 0xffffffff
jne 0x130111ac
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.1301b91b
push 0x1303a008
lea ecx, [esp + 0x18]
push ecx
call fcn.1301c039
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1303fa84], esi
call fcn.13002970
push esi
call fcn.1301a999
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1301a85e
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x130111f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13033108
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1303de70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.1301a83d
mov dword [esp + 0x28], 0
mov edi, dword [0x1303fa88]
mov ecx, 0x1303fa8c
mov dword [esp + 0xc], edi
call fcn.130028f0
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x1301126b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x1301126f
cmp byte [eax + 0x14], 0
je 0x1301126f
call fcn.1301a8cb
cmp esi, dword [eax + 0xc]
jae 0x13011275
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x13011271
xor ecx, ecx
jmp 0x13011253
mov esi, ecx
test esi, esi
jne 0x130112c6
test edi, edi
je 0x1301127d
mov esi, edi
jmp 0x130112c6
lea eax, [esp + 0xc]
push eax
call fcn.13010ec0
add esp, 4
cmp eax, 0xffffffff
jne 0x130112ac
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.1301b91b
push 0x1303a008
lea ecx, [esp + 0x18]
push ecx
call fcn.1301c039
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x1303fa88], esi
call fcn.13002970
push esi
call fcn.1301a999
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.1301a85e
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x13013ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1303de70]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], ecx
jmp 0x13013ae5
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], 0x63
mov word [ebp - 0x22], 0x6c
mov word [ebp - 0x20], 0x69
mov word [ebp - 0x1e], 0x65
mov word [ebp - 0x1c], 0x78
mov word [ebp - 0x1a], 0x74
mov word [ebp - 0x18], 0x2e
mov word [ebp - 0x16], 0x64
mov word [ebp - 0x14], 0x6c
mov word [ebp - 0x12], 0x6c
mov word [ebp - 0x10], 0
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x13013b56
mov edx, dword [0x1303f334]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x13013b8c
push 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x13013b8c
mov byte [ebp - 5], 1
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x28], edx
movzx eax, byte [ebp - 5]
test eax, eax
jne 0x13013ba7
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x28], 0xdbba0
jmp 0x13013bb9
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1301b81a
mov esp, ebp
pop ebp
ret
Function at 0x1301a4e0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x204
mov eax, dword [0x1303de70]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, ecx
cmp dword [eax], 0
jne 0x1301a5b3
push esi
mov dword [eax], 1
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.Client.ini
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 4]
push edx
push 0
push str.LowestId
push str.AutoType
call esi
mov dword [0x1303fb50], eax
lea eax, [esp + 4]
push eax
push 0
push str.HighestId
push str.AutoType
call esi
cmp dword [0x1303fb50], 0
mov dword [0x1303fb54], eax
jbe 0x1301a5b2
test eax, eax
jbe 0x1301a5b2
push str.NWindow.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1301a5b2
lea ecx, [eax + 0x205c50]
push 0
lea esi, [eax + 0x20835f]
lea edx, [ecx + 5]
lea eax, [esi + 5]
push 0x1301a480
push ecx
mov dword [0x1303fb48], edx
mov dword [0x1303fb4c], eax
call fcn.13001220
push 0
push 0x1301a4b0
push esi
call fcn.13001220
add esp, 0x18
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.1301b81a
add esp, 0x204
ret

Function at 0x1301b81a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1303de70]
jne 0x1301b824
repz ret
jmp fcn.130215cd
Function at 0x1302aed9
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1303ec40]
je 0x1302aef4
inc edi
cmp edi, 0x17
jb 0x1302aee5
cmp edi, 0x17
jae 0x1302b074
push ebp
push 3
call fcn.1302f488
cmp eax, 1
pop ecx
je 0x1302b040
push 3
call fcn.1302f488
test eax, eax
pop ecx
jne 0x1302af28
cmp dword [0x1303fda4], 1
je 0x1302b040
cmp ebx, 0xfc
je 0x1302b073
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x13040408
push ebp
call fcn.130216d1
add esp, 0xc
test eax, eax
je 0x1302af5e
push esi
push esi
push esi
push esi
push esi
call fcn.1301be86
add esp, 0x14
push 0x104
mov esi, 0x13040421
push esi
push 0
mov byte [0x13040525], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1302afa2
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.130216d1
add esp, 0xc
test eax, eax
je 0x1302afa2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1301be86
add esp, 0x14
push esi
call fcn.1301e330
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1302afe7
push esi
call fcn.1301e330
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1304071c
push 0x13037f64
sub ecx, eax
push ecx
push eax
call fcn.130286dc
add esp, 0x14
test eax, eax
je 0x1302afe7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1301be86
add esp, 0x14
jmp 0x1302afe9
xor esi, esi
push 0x13037f60
push ebx
push ebp
call fcn.1302866b
add esp, 0xc
test eax, eax
je 0x1302b009
push esi
push esi
push esi
push esi
push esi
call fcn.1301be86
add esp, 0x14
push dword [edi*8 + 0x1303ec44]
push ebx
push ebp
call fcn.1302866b
add esp, 0xc
test eax, eax
je 0x1302b02b
push esi
push esi
push esi
push esi
push esi
call fcn.1301be86
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1302f2cb
add esp, 0xc
jmp 0x1302b073
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1302b073
cmp ebp, 0xffffffff
je 0x1302b073
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1303ec44]
push dword [esi]
call fcn.1301e330
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1302f2cb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.13021922
xor ebx, ebx
cmp dword [0x13040844], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1302f3a1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1302f481
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1302f481
push eax
call fcn.130218b4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x13040844], eax
call esi
push eax
call fcn.130218b4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x13040848], eax
call esi
push eax
call fcn.130218b4
mov dword [0x1304084c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.13020d87
test eax, eax
pop ecx
pop ecx
je 0x1302f36f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1301be86
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1302f3a1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.130218b4
cmp eax, ebx
pop ecx
mov dword [0x13040854], eax
je 0x1302f3a1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.130218b4
pop ecx
mov dword [0x13040850], eax
mov eax, dword [0x13040850]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1302f426
cmp dword [0x13040854], ecx
je 0x1302f426
push eax
call fcn.1302192b
push dword [0x13040854]
mov esi, eax
call fcn.1302192b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1302f426
cmp edi, ebx
je 0x1302f426
call esi
cmp eax, ebx
je 0x1302f3f3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1302f3f3
test byte [ebp - 0x18], 1
jne 0x1302f426
lea eax, [ebp - 0x10]
push eax
call fcn.13020dbe
test eax, eax
pop ecx
je 0x1302f40e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1301be86
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1302f41d
or dword [ebp + 0x10], 0x200000
jmp 0x1302f461
or dword [ebp + 0x10], 0x40000
jmp 0x1302f461
mov eax, dword [0x13040848]
cmp eax, dword [ebp - 8]
je 0x1302f461
push eax
call fcn.1302192b
cmp eax, ebx
pop ecx
je 0x1302f461
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1302f461
mov eax, dword [0x1304084c]
cmp eax, dword [ebp - 8]
je 0x1302f461
push eax
call fcn.1302192b
cmp eax, ebx
pop ecx
je 0x1302f461
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x13040844]
call fcn.1302192b
cmp eax, ebx
pop ecx
je 0x1302f481
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1302f483
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x49e7008], 0x8088405
inc edx
mov dword [ebx + 0x49e7008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d1c0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d1f1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d1d9
add dl, dl
jne 0x41d1fc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d24d
xor eax, eax
add dl, dl
jne 0x41d209
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d2ea
add dl, dl
jne 0x41d218
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d223
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d22e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d239
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d243
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d1e8
mov eax, 1
add dl, dl
jne 0x41d25b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d266
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d252
sub eax, ebx
mov ebx, 1
jne 0x41d299
mov ecx, 1
add dl, dl
jne 0x41d27f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d28a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d276
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d2b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d2bb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d2a7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d1e8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d30b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d1e8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f31c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x49ca80a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f36b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
jmp 0x41f38a
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f3fc
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f3e5
test esi, esi
jbe 0x41f3fc
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f3d7
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f3fc
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f3b4
jmp 0x41f3fc
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f3fc
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ca811
ret
Function at 0x420568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x49cbb83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4205a3
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4205bc
lea eax, [ebp - 0x10]
mov edx, dword [0x49e95f0]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4205cf
lea eax, [ebp - 0x10]
mov edx, dword [0x49e95f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4205db
adc edx, 0
mov edx, dword [edx*4 + 0x49e83fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420755
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420748
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420748
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4206e6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4206e6
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4206e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4206e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420748
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420748
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x42076d
inc ebx
cmp ebx, 0x19
jne 0x420595
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cbb8a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret