joyce8/EMBER2024-capa huggingface dataset:
Function at 0x149baf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x11c90e0]
test esi, esi
jne 0x149bb08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x149bb01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x149bb01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x149bb6a
jmp 0x149bb50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x11c8bf0]
add eax, esi
call fcn.01499610
test eax, eax
je 0x149bb73
inc edi
cmp edi, dword [ebp - 4]
jb 0x149bb50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408a48
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41831c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405045
mov dword [ebp - 0x14], eax
cmp dword [0x42a9b0], esi
jne 0x408b3b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x408ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408c1b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x408c1b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408c1b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42a9b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42a9b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42a9b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42a9c0], eax
test eax, eax
je 0x408b38
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42a9bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408b60
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408b53
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x408b75
push 4
pop eax
jmp 0x408c1d
cmp dword [ebp - 0x14], esi
je 0x408b75
push dword [0x42a9b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x408b5a
mov eax, dword [0x42a9bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x408bd3
cmp dword [0x42a9c0], edi
je 0x408bd3
push eax
call ebx
push dword [0x42a9c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408bd3
test eax, eax
je 0x408bd3
call ecx
test eax, eax
je 0x408bc8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408bc8
test byte [ebp - 8], 1
jne 0x408bd3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408c03
mov eax, dword [0x42a9b4]
cmp eax, edi
je 0x408c00
push eax
call ebx
test eax, eax
je 0x408c00
call eax
mov esi, eax
test esi, esi
je 0x408c00
mov eax, dword [0x42a9b8]
cmp eax, edi
je 0x408c00
push eax
call ebx
test eax, eax
je 0x408c00
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42a9b0]
call ebx
test eax, eax
je 0x408c1b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x408c1d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040282b
mov esp, ebp
pop ebp
ret
Function at 0x401490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4014eb
cmp byte [esi + ebx - 1], 0xa
je 0x4014bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401e90
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
Function at 0x4109c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esi]
sub esp, 8
test al, 3
jne 0x429c0f
add esp, 8
ret
test al, 1
je 0x429c31
mov ecx, dword [esi + 4]
lea eax, [esp]
push eax
push ecx
call fcn.00415632
mov edx, dword [esp + 8]
add esp, 8
or edx, dword [esp + 4]
jne 0x4109cd
mov eax, dword [esi]
test al, 0x20
je 0x429c57
mov eax, dword [esi + 4]
push eax
push 2
push 1
push 0x480a0c
call fcn.00415802
mov dword [esi + 0xc], 1
add esp, 0x10
add esp, 8
ret
test al, 0x40
je 0x429c7b
mov ecx, dword [esi + 4]
push ecx
push 2
push 1
push 0x481d60
call fcn.00415802
mov dword [esi + 0xc], 2
add esp, 0x10
add esp, 8
ret
test al, al
jns 0x4109cd
mov edx, dword [esi + 4]
push edx
push 3
push 1
push 0x481d64
call fcn.00415802
mov dword [esi + 0xc], 4
add esp, 0x10
add esp, 8
ret

Function at 0x410a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x410a96
test al, al
js 0x429b7b
test al, 0x20
jne 0x429b87
test al, 0x40
jne 0x429b93
mov eax, dword [esp + 0xc]
push 0x481d68
push eax
call fcn.0041550c
add esp, 8
test eax, eax
je 0x410a96
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00415c17
push esi
mov edi, eax
call fcn.004158fb
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x410a8c
cmp al, 0xff
je 0x429b9f
cmp al, 0xfe
je 0x429bba
cmp al, 0xef
je 0x429bd5
pop edi
pop esi
pop ebp
ret 8
mov dword [ebp + 0xc], 4
jmp 0x410a3f
mov dword [ebp + 0xc], 1
jmp 0x410a3f
mov dword [ebp + 0xc], 2
jmp 0x410a3f
cmp byte [esp + 0x11], 0xfe
jne 0x410a8c
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x410a94
cmp byte [esp + 0x11], 0xff
jne 0x410a8c
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x410a94
cmp edi, 3
jb 0x410a94
cmp byte [esp + 0x11], 0xbb
jne 0x410a94
cmp byte [esp + 0x12], 0xbf
jne 0x410a94
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x410a94
Function at 0x4114b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00426210
push ebx
mov ebx, dword [esp + 0x10028]
push ebp
push esi
push edi
xor eax, eax
jmp 0x4114d0
mov cl, byte [eax + 0x48cf58]
mov dl, byte [eax + 0x48cf50]
mov byte [esp + eax + 0x1c], cl
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, 8
jl 0x4114d0
lea eax, [esp + 0x10]
push 0x482320
push eax
call fcn.00414c40
push 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00412960
add esp, 0x14
mov dword [esp + 0x18], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415c17
add esp, 0x10
cmp eax, 0x18
jl 0x41157e
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x411561
xor edx, edx
lea esp, [esp]
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x42992e
cmp ecx, 0x14
je 0x4299ad
inc edx
cmp edx, edi
jl 0x411540
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 1
lea edx, [ecx + ebp - 0x14]
push 0xffffffffffffffec
push eax
mov dword [esp + 0x24], edx
call fcn.004155ad
add esp, 0xc
jmp 0x411515
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
jne 0x42997a
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
jne 0x429987
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429996
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
mov ebx, dword [esp + 0x10034]
jne 0x4299a5
add ecx, 5
cmp ecx, 0x14
jge 0x411556
jmp 0x411546
mov ebx, dword [esp + 0x10034]
inc ecx
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 2
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 3
jmp 0x411553
add ecx, 4
jmp 0x411553
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.004155ad
mov ecx, dword [ebx]
push ecx
push 4
lea edx, [esp + 0x24]
push 1
push edx
call fcn.00415c17
lea eax, [esp + 0x2c]
push 0x482310
push eax
mov byte [esp + 0x38], 0
call fcn.00415260
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x411583
Function at 0x4366a5
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x4366bb
cmp eax, 0x10000
jne 0x4366df
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00415c17
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4

Function at 0x4366f9
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x436728
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00415802
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4

Function at 0x43672c
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x43677b
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.00415802
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x436824
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x43684a
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00412960
add esp, 0xc
jmp 0x43685f
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00415c17
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push 0x482310
push ecx
mov byte [esp + 0x10], 0
call fcn.00415260
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8

Function at 0x436907
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49e930], eax
mov edx, 1
mov eax, 0x49e930
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x49f2ec
jl 0x43691b
mov dword [0x48caac], 1
mov dword [0x49f300], 1
pop edi
ret
Function at 0x443eef
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x49f300], 0
push esi
push edi
mov esi, 0x49e930
jne 0x443f0f
push 0
call fcn.00416b32
push eax
call fcn.00436907
add esp, 8
mov dword [0x48caac], 0x270
mov dword [0x49e92c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x443f24
mov edx, 0x18c
mov edi, edi
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x443f5f
mov ecx, dword [0x49e930]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x445f8c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412288
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00412960
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x445fe8
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x445fdf
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x44b5da
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x10]
push eax
call fcn.00443d3f
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00443c99
xor esi, esi
test edi, edi
jbe 0x44b62c
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call fcn.00443d11
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x44b61a
pop edi
pop esi
pop ebx
add esp, 0xdc
ret 0xc

Function at 0x44b8e7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
sub dword [0x48caac], 1
jne 0x44b8f6
call fcn.00443eef
mov ecx, dword [0x49e92c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49e92c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
test edx, edx
jge 0x44b93f
fadd qword [0x487210]
fmul qword [0x487208]
pop ecx
ret
Function at 0x453945
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x434
push ebx
push esi
mov esi, dword [esp + 0x440]
push edi
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00415c17
add esp, 0x10
push 0x18ee
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044b5da
lea eax, [esp + 0x14]
push 0x482338
push eax
mov byte [esp + 0x20], 0
call fcn.00415260
add esp, 8
test eax, eax
jne 0x453abe
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
call fcn.00415c17
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415c17
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044b5da
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00412546
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00415c17
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.00415c17
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044b5da
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00412546
mov edx, dword [esp + 0x450]
push edx
lea eax, [esp + 0x23c]
push eax
call fcn.0041455e
add esp, 0x10
test eax, eax
je 0x453ab0
mov ecx, dword [esi]
push 1
push 1
push ecx
call fcn.004155ad
mov edx, dword [esi]
add esp, 0xc
push edx
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.00415c17
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
push 1
add eax, 0x18
push eax
push ecx
call fcn.004155ad
add esp, 0x1c
jmp 0x453955
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x434
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
add esp, 0x434
ret 0xc
Function at 0x432fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x444ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x445940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x447c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x4486a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x449530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x4d8310
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x57c864
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d839c
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x4d839c
cmp ebx, 0x15f90
jl 0x4d8393
cmp ebx, 0x1d4c0
jge 0x4d8370
mov eax, 0x32
jmp 0x4d8395
cmp ebx, 0x2bf20
jge 0x4d837f
mov eax, 0x64
jmp 0x4d8395
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x4d8395
mov eax, 0xfa
jmp 0x4d8395
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d83b0
inc ebx
cmp ebx, 0x57e40
jl 0x4d8328
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d83ca
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.004fa8a0
add esp, 4
mov eax, dword [0x57c868]
test eax, eax
jne 0x4d8400
cmp dword [0x577aa0], 1
je 0x4d8484
xor ebx, ebx
xor esi, esi
cmp dword [0x57c860], 0
je 0x4d8444
mov dword [0x57c868], 1
cmp dword [0x577aa0], 1
je 0x4d842f
mov dword [0x57c864], 0
push dword [0x57c85c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d84a2
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00529f1f
push ebx
push 0x16
call fcn.00529f1f
add esp, 0x10
jmp 0x4d8400
mov dword [0x57c860], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x57c85c], eax
cmp eax, 0xffffffff
jne 0x4d8468
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4d83ed
push 0x4d82f0
call fcn.0052a425
push 0x4d82b0
call fcn.0052a425
add esp, 8
jmp 0x4d83ed
push 1
push 2
call fcn.00529f1f
mov esi, eax
push 1
push 0x16
call fcn.00529f1f
add esp, 0x10
mov ebx, eax
jmp 0x4d83e4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.004f1dd0
add esp, 0xc
test eax, eax
je 0x4d84cc
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x5779fc]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x5779f8]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x5779f4]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x5779f0]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x4d84d4
push dword [ebp - 0x10]
push dword [0x57c85c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x4d841e
Function at 0x4d8520
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x57c864
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d85ac
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x4d85ac
cmp ebx, 0x15f90
jl 0x4d85a3
cmp ebx, 0x1d4c0
jge 0x4d8580
mov eax, 0x32
jmp 0x4d85a5
cmp ebx, 0x2bf20
jge 0x4d858f
mov eax, 0x64
jmp 0x4d85a5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x4d85a5
mov eax, 0xfa
jmp 0x4d85a5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d85c0
inc ebx
cmp ebx, 0x57e40
jl 0x4d8538
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d85da
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.004fa8a0
add esp, 4
mov eax, dword [0x57c868]
test eax, eax
jne 0x4d8610
cmp dword [0x577aa0], 1
je 0x4d86a9
xor ebx, ebx
xor esi, esi
cmp dword [0x57c860], 0
je 0x4d8666
mov dword [0x57c868], 1
cmp dword [0x577aa0], 1
je 0x4d8651
mov dword [0x57c864], 0
push dword [0x57c85c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4d86e7
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp dword [0x577aa0], 1
je 0x4d86c7
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00529f1f
push ebx
push 0x16
call fcn.00529f1f
add esp, 0x10
jmp 0x4d8610
mov dword [0x57c860], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x57c85c], eax
cmp eax, 0xffffffff
jne 0x4d868d
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4d85fd
push 0x4d82f0
call fcn.0052a425
push 0x4d82b0
call fcn.0052a425
add esp, 8
jmp 0x4d85fd
push 1
push 2
call fcn.00529f1f
mov esi, eax
push 1
push 0x16
call fcn.00529f1f
add esp, 0x10
mov ebx, eax
jmp 0x4d85f4
push 1
push 2
call fcn.00529f1f
push 1
push 0x16
mov dword [ebx + 0x64], eax
call fcn.00529f1f
add esp, 0x10
mov dword [ebx + 0x68], eax
jmp 0x4d8645
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.004f1dd0
add esp, 0xc
test eax, eax
je 0x4d870e
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x5779fc]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x5779f8]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x5779f4]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x5779f0]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x4d8716
push dword [ebp - 0x10]
push dword [0x57c85c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp - 0x10]
jmp 0x4d8633