joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b052
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x43780c
push dword [esp + 0x18]
push dword [0x443ff8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41b16b
push esi
push dword [0x443ff8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41b16b
push esi
push dword [0x443ff8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b16b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b16b
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41b163
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b15c
push edi
push esi
push eax
call fcn.00422680
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41b155
push ebp
push dword [esp + 0x14]
call fcn.0041afb6
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43626c]
call esi
test edi, edi
je 0x41b155
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41b143
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41b143
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43626c]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x41b16d
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4

Function at 0x41b864
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041f8b0
cmp word [0x453822], 0
je 0x41b900
push esi
push 6
push dword [0x44126c]
mov esi, 0x453822
push esi
call fcn.0040d440
push eax
call fcn.00413093
test eax, eax
jne 0x41b8ff
push 0x452820
call fcn.0041b599
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.00411698
lea eax, [ebp - 0x1024]
push eax
call fcn.00424995
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x1022], cx
lea eax, [ebp - 0x20]
push eax
call fcn.00420a70
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
leave
ret
Function at 0x41b944
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x441284], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41b98f
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x462c78], ax
xor eax, eax
mov word [0x462c7a], ax
mov dword [0x441284], 0x462c78
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411553
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x441274
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x41bc5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041f8b0
cmp byte [0x454828], 0
je 0x41bd0d
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041d184
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bd0d
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41bd04
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41bce8
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.00411698
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x41bdc4
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041f8b0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x41bddf
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x41bdec
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41bec8
movzx eax, word [esi]
test ax, ax
je 0x41bec8
push ebp
mov ebp, dword [esp + 0x201c]
push edi
mov dword [esp + 0x10], ebx
mov edi, eax
add esi, 2
cmp di, 0x3d
jne 0x41be37
test ebp, ebp
je 0x41be43
test ebx, ebx
jne 0x41be43
test ecx, ecx
je 0x41be2e
mov byte [ecx], 1
mov ebx, dword [esp + 0x201c]
jmp 0x41be67
cmp di, 0xd
je 0x41be7c
cmp di, 0xa
je 0x41be7f
mov eax, dword [esp + 0x201c]
mov word [eax], di
add eax, 2
mov edi, dword [esp + 0x202c]
mov dword [esp + 0x201c], eax
lea eax, [edi - 2]
cmp dword [esp + 0x10], eax
jge 0x41be77
movzx eax, word [esi]
inc dword [esp + 0x10]
mov edi, eax
test ax, ax
jne 0x41be16
jmp 0x41be7f
mov byte [edx], 1
jmp 0x41be86
add esi, 2
mov edi, dword [esp + 0x202c]
mov eax, dword [esp + 0x201c]
xor ecx, ecx
mov word [eax], cx
test ebp, ebp
je 0x41bec2
xor eax, eax
mov word [ebp], ax
test ebx, ebx
je 0x41bec2
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.00411698
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41beca
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18
Function at 0x41e493
Capabilities:
Hide graphical window

Disassembly:
and dword [0x452818], 0
push 1
push dword [esp + 8]
mov byte [0x44b400], 1
mov byte [0x44b401], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401163
cmp dword [0x462c64], 0
jne 0x41e4d3
cmp byte [0x44b406], 0
je 0x41e4dc
cmp dword [0x44b3fc], 0
jne 0x41e4ef
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41e5eb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041f8b0
cmp byte [0x454828], 0
je 0x41e67a
cmp word [0x45482a], 0
je 0x41e67a
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x45482a
call fcn.0041d184
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41e679
push dword [ebp + 8]
call fcn.00424995
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x41e67e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041f8b0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00411407
mov esi, eax
test esi, esi
je 0x41e6d6
movzx ecx, word [esi]
push ecx
jmp 0x41e6c1
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00411523
test al, al
jne 0x41e6ba
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
leave
ret 4
Function at 0x42041c
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42e010
push ebx
push esi
call fcn.0042df3c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042de85
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42dfbd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42e00f
push edi
push eax
call fcn.0042b39d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42dfdd
call fcn.0042b24a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42e00e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042de85
add esp, 0x20
test eax, eax
jne 0x42dffc
push edi
call fcn.0042b24a
jmp 0x42e004
push ebx
call fcn.0042b24a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42e27b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a4b0
push 0x43a4a8
push str.FlsAlloc
push 0x1e
call fcn.0042e199
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42e2af
push dword [ebp + 8]
mov ecx, esi
call dword [0x43626c]
call esi
jmp 0x42e2b5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42e2f9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a4c0
push 0x43a4b8
push str.FlsGetValue
push 0x20
call fcn.0042e199
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42e330
push dword [ebp + 8]
mov ecx, esi
call dword [0x43626c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x435150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43517d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43517d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.0040191c
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
mov eax, dword [fcn.00401984]
mov edx, dword [0x4030dc]
sub edx, eax
push edx
push dword [0x4030d8]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132d
push edi
call fcn.00401838
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.00401882
mov eax, edi
add eax, 0x23400
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
mov edx, edi
inc edx
imul eax, edx
push eax
lea esi, [0x4030e4]
mov ecx, edi
shl esi, cl
push esi
call fcn.00401984
add esp, 0x18
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x40191c
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
xor esi, esi
mov edi, esi
mov edi, 0xfffffffb
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x10e], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xa]
push eax
push 1
push 1
lea eax, [ebp - 0x10e]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
lea eax, [ebp - 0xa]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
movsx eax, byte [ebp - 0xa]
sub eax, 0x41
pop edi
pop esi
leave
ret
Function at 0x412869
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x412878
pop dword [ebp - 0x4c]
mov eax, 0x1ef98d0
sub eax, 0x1ae7058
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x40eba
push 0
mov eax, 0xbbf8246c
add eax, 0x4449ada8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x5647
mov edx, eax
mov ebx, 0xd8804514
add ebx, 0x27c31aec
add ebx, dword [ebp - 0x4c]
mov esi, 0x8f032bb4
sub esi, 0x1748b7cb
mov dword [ebp - 0x24], 0xa07e7423
mov edi, dword [ebx]
xor dword [ebp - 0x30], edx
add edi, esi
add dword [ebp - 0x44], edx
mov dword [edx], edi
add edx, 0x1ae07cf8
add edx, 0xe51f830c
add ebx, 0x2f8b8d79
sub ebx, 0x2f8b8d75
loop 0x4128d1
add eax, 0x68379be0
sub eax, 0x68364ff1
mov ebx, eax
add eax, 0x49fab3a7
sub eax, 0x49fab3a2
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x40d04b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40d05a
pop dword [ebp - 0x40]
mov eax, 0x56c5f24f
add eax, 0xa97ade0b
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xfafb9514
add dword [ebp - 0x50], 0x5356b037
mov dword [ebp - 0x4c], 0x589ef7dd
add dword [ebp - 0x4c], 0xd9945468
mov dword [ebp - 0x48], 0xcd532d87
add dword [ebp - 0x48], 0x7ef916a7
mov dword [ebp - 0x44], 0xc619840b
sub dword [ebp - 0x44], 0xc619840b
lea eax, [ebp - 0x50]
push eax
mov eax, 0x14595e1d
sub eax, 0x14187d21
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xaa1272c9
add dword [ebp - 0x50], 0xca5ff68d
mov dword [ebp - 0x4c], 0x760f4699
sub dword [ebp - 0x4c], 0x34a2e524
mov dword [ebp - 0x48], 0x18abb2b2
sub dword [ebp - 0x48], 0xb53c4646
mov dword [ebp - 0x44], 0x41dd0894
sub dword [ebp - 0x44], 0x41dd0894
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x35d4c
push 0
call eax
mov ecx, 0x4082
xor esi, esi
add esi, eax
mov edi, 0x41f000
add edi, dword [ebp - 0x40]
mov ebx, 0x95317671
add dword [ebp - 0x30], 0x82ff0a6b
mov edx, dword [edi]
add dword [ebp - 0x3c], 0xad2514f2
xor edx, ebx
mov dword [esi], edx
sub dword [ebp - 0x2c], 0xd619462f
add esi, 4
add edi, 0xec77fdef
sub edi, 0xec77fdeb
loop 0x40d167
add eax, 0xf4db
mov ebx, eax
add eax, 0xc452b3e5
add eax, 0x3bad4c20
mov ecx, 0xb88ecaf8
sub ecx, 0xb84ecaf8
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x41954c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1dc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1f0]
push edi
mov ebp, dword [esi + 0x3c]
mov eax, dword [esi + ebp + 0x78]
test eax, eax
je 0x419651
lea edi, [eax + esi]
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x419651
mov eax, dword [edi + 0x1c]
xor edx, edx
add eax, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x24]
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
add eax, esi
mov cl, byte [eax]
test cl, cl
je 0x4195d0
mov esi, dword [esp + 0x10]
lea edx, [esp + 0xe8]
sub edx, eax
or cl, 0x20
inc esi
mov byte [edx + eax], cl
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x4195b3
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1f4]
mov edx, dword [esp + 0x10]
push dword [esp + 0x204]
lea eax, [esp + 0xec]
mov byte [esp + edx + 0xec], 0
push dword [esp + 0x204]
push eax
call fcn.0041b48a
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffffc
mov dword [esp + 0x1c], edx
lea eax, [eax + ebx*4]
mov dword [esp + 0x10], eax
push dword [esp + 0x204]
mov ecx, dword [eax]
push dword [esp + 0x204]
add ecx, esi
push ecx
call fcn.0041b48a
xor eax, dword [esp + 0x24]
add esp, 0xc
xor edx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x1f8]
jne 0x419641
cmp edx, dword [esp + 0x1fc]
je 0x41965e
mov eax, dword [esp + 0x10]
sub eax, 4
mov dword [esp + 0x10], eax
sub ebx, 1
jne 0x41960c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx eax, word [eax + ebx*2 - 2]
mov edx, dword [ecx + eax*4]
add edx, esi
cmp edx, edi
jb 0x4196ea
mov eax, dword [esi + ebp + 0x7c]
add eax, edi
cmp edx, eax
jae 0x4196ea
xor ecx, ecx
cmp byte [edx], cl
je 0x4196a1
lea ebx, [esp + 0x28]
mov edi, edx
sub ebx, edx
cmp ecx, 0x3c
jae 0x4196a1
mov al, byte [edi]
mov byte [ebx + edi], al
cmp al, 0x2e
je 0x4196a1
inc ecx
inc edi
cmp byte [edi], 0
jne 0x41968c
inc edx
mov dword [esp + ecx + 0x29], 0x6c6c64
add ecx, edx
xor edx, edx
cmp byte [ecx], dl
je 0x4196c9
lea edi, [esp + 0x68]
sub edi, ecx
cmp edx, 0x7f
jae 0x4196c9
mov al, byte [ecx]
inc edx
mov byte [edi + ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x4196b8
lea eax, [esp + 0x68]
mov byte [esp + edx + 0x68], 0
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x1fc]
call fcn.004196f1
add esp, 0x10
mov edx, eax
mov eax, edx
jmp 0x419653
Function at 0x4196f1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
xor ecx, ecx
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
cmp dword [esi + 0x18], ecx
je 0x41973a
mov ebx, dword [ebp + 0xc]
test ecx, ecx
jne 0x419756
cmp dword [esi + 0x18], ebx
je 0x41972e
push ecx
push dword [ebp + 0x14]
push dword [esi + 0x18]
push edi
call fcn.0041b2ec
add esp, 0x10
mov ecx, eax
mov esi, dword [esi]
cmp dword [esi + 0x18], 0
jne 0x419713
test ecx, ecx
jne 0x419756
push dword [ebp + 0x10]
push edi
call fcn.0041b24e
pop ecx
pop ecx
test eax, eax
je 0x419754
push dword [ebp + 0x14]
push eax
call dword [edi + 0x34]
mov ecx, eax
jmp 0x419756
xor ecx, ecx
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x41b24e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x40
xor ecx, ecx
push ebx
push esi
or ebx, 0xffffffff
push edi
cmp byte [edx], cl
je 0x41b279
lea esi, [ebp - 0x40]
sub esi, edx
cmp ecx, 0x40
jae 0x41b279
mov al, byte [edx]
inc ecx
mov byte [esi + edx], al
inc edx
cmp byte [edx], 0
jne 0x41b268
cmp byte [ebp + ecx - 0x44], 0x2e
mov byte [ebp + ecx - 0x40], 0
je 0x41b292
mov dword [ebp + ecx - 0x40], 0x6c6c642e
mov byte [ebp + ecx - 0x3c], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, dword [edi + 0x18]
test esi, esi
je 0x41b2d9
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
xor eax, eax
test ecx, ecx
je 0x41b2cf
mov eax, dword [ecx + esi + 0xc]
add eax, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041b91c
mov ebx, eax
xor eax, eax
pop ecx
pop ecx
test ebx, ebx
je 0x41b2e8
mov edi, dword [edi]
test ebx, ebx
jne 0x41b2a1
test eax, eax
jne 0x41b2e3
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
call dword [eax + 0x30]
pop edi
pop esi
pop ebx
leave
ret
mov eax, esi
jmp 0x41b2e3
Function at 0x41b2ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
xor esi, esi
test edi, edi
je 0x41b43a
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + edi + 0x78]
test eax, eax
je 0x41b43a
lea ebx, [eax + edi]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
add eax, edi
mov dword [esp + 0x10], eax
add edx, edi
mov eax, dword [ebx + 0x24]
add eax, edi
mov dword [esp + 0x1c], edx
cmp dword [esp + 0xac], esi
je 0x41b426
mov ebp, dword [ebx + 0x18]
test ebp, ebp
je 0x41b43a
lea eax, [eax + ebp*2]
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea eax, [eax + ebp*4]
add eax, 0xfffffffc
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push dword [esp + 0xac]
add eax, edi
push eax
call fcn.0041b8f5
pop ecx
pop ecx
test eax, eax
jne 0x41b38b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax]
mov esi, dword [ecx + eax*4]
add esi, edi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], 2
sub eax, 4
mov dword [esp + 0x10], eax
sub ebp, 1
je 0x41b3a4
test esi, esi
je 0x41b364
mov ecx, dword [esp + 0x18]
cmp esi, ebx
jb 0x41b422
mov eax, dword [ecx + edi + 0x7c]
add eax, ebx
cmp esi, eax
jae 0x41b422
xor ecx, ecx
cmp byte [esi], cl
je 0x41b3d9
lea ebx, [esp + 0x20]
mov edx, esi
sub ebx, esi
cmp ecx, 0x3c
jae 0x41b3d9
mov al, byte [edx]
mov byte [ebx + edx], al
cmp al, 0x2e
je 0x41b3d9
inc ecx
inc edx
cmp byte [edx], 0
jne 0x41b3c4
mov dword [esp + ecx + 0x21], 0x6c6c64
xor edx, edx
inc ecx
add ecx, esi
cmp byte [ecx], dl
je 0x41b401
lea esi, [esp + 0x60]
sub esi, ecx
cmp edx, 0x3f
jae 0x41b401
mov al, byte [ecx]
inc edx
mov byte [esi + ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x41b3f0
lea eax, [esp + 0x60]
mov byte [esp + edx + 0x60], 0
push eax
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0xb0]
call fcn.004196f1
add esp, 0x10
mov esi, eax
mov eax, esi
jmp 0x41b43c
mov eax, dword [esp + 0xb0]
sub eax, dword [ebx + 0x10]
mov esi, dword [edx + eax*4]
add esi, edi
jmp 0x41b3a8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret

Function at 0x41b447
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
xor ecx, ecx
push esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
jmp 0x41b47e
test ecx, ecx
jne 0x41b485
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0041954c
mov esi, dword [esi]
add esp, 0x18
mov ecx, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41b45e
mov eax, ecx
pop esi
pop ebp
ret