joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4669
Capabilities:
Query environment variable
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e46c4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e46c4
mov eax, ebx
test ebx, ebx
jne 0x4e468d
mov eax, str._NULL_
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
push ecx
push ebp
push eax
lea edx, [esp + 0x18]
push str._ENTERING__PzLocalFile::Open__filename_s__flags_u__mask_u_
push edx
mov dword [esp + 0x20], str..._osfile.cpp
mov dword [esp + 0x24], 0x124
mov dword [esp + 0x28], 0x14
call fcn.004e3840
add esp, 0x14
jmp 0x4e46c8
mov ebp, dword [esp + 0x24]
cmp byte [esi + 8], 0
je 0x4e46d7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, ebp
and eax, 0x10
or eax, 0x801
add eax, eax
mov ecx, ebp
and ecx, 0xc0
or eax, ecx
push edi
add eax, eax
add eax, eax
mov edi, ebp
push 0x180
add eax, eax
and edi, 2
or eax, edi
push 0x40
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__sopen]
add esp, 0x10
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x4e4768
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e4768
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4e4768
test ebx, ebx
jne 0x4e4734
mov ebx, str._null_
mov dword [esp + 0x10], str..._osfile.cpp
mov dword [esp + 0x14], 0x13f
mov dword [esp + 0x18], 0xa
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
push ecx
push ebx
lea edx, [esp + 0x18]
push str.FAILED:_sopen_filename_s_:__d
push edx
call fcn.004e3840
add esp, 0x10
mov al, byte [0x633a08]
test al, al
jne 0x4e4795
push str.ZPOS_DREAD
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x4e478c
mov byte [0x633a08], 1
jmp 0x4e4799
mov byte [0x633a08], 0xff
jmp 0x4e47fe
cmp al, 1
jne 0x4e47fe
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x4e47fe
test edi, edi
jne 0x4e47fe
push 2
push edi
push eax
call dword [sym.imp.MSVCR90.dll__lseek]
push 0x100000
mov ebp, eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x10
xor ebx, ebx
mov edi, eax
test ebp, ebp
jbe 0x4e47e3
mov eax, dword [esi + 0x10]
push 0x100000
push edi
push eax
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
test eax, eax
jle 0x4e47e3
add ebx, eax
cmp ebx, ebp
jb 0x4e47c6
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esi + 0x10]
push 0
push 0
push ecx
call dword [sym.imp.MSVCR90.dll__lseek]
mov ebp, dword [esp + 0x38]
add esp, 0x10
xor bl, bl
cmp dword [esi + 0x10], 0xffffffff
pop edi
je 0x4e4812
mov dword [esi + 4], ebp
mov byte [esi + 8], 1
mov bl, 1
jmp 0x4e481e
add esi, 0xc
push esi
call fcn.004dfd60
add esp, 4
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e4862
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e4862
movzx ecx, bl
push ecx
lea edx, [esp + 0x10]
push str._ENTERING__PzLocalFile::Open__:__d
push edx
mov dword [esp + 0x18], str..._osfile.cpp
mov dword [esp + 0x1c], 0x17f
mov dword [esp + 0x20], 0x28
call fcn.004e3840
add esp, 0xc
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4e4b8d
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [0x633a04]
push edi
mov edi, dword [esp + 0x2c]
test ecx, ecx
je 0x4e4bd8
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e4bd8
push edi
push ebx
push ebp
lea eax, [esp + 0x1c]
push str._ENTERING__PzLocalFile::Read__pos_u__buf_p__n_u_
push eax
mov dword [esp + 0x24], str..._osfile.cpp
mov dword [esp + 0x28], 0x1b8
mov dword [esp + 0x2c], 0x14
call fcn.004e3840
add esp, 0x14
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push ebp
mov ecx, esi
call eax
test al, al
je 0x4e4ca5
mov ecx, dword [esi + 0x10]
push edi
push ebx
push ecx
call dword [sym.imp.MSVCR90.dll__read]
mov esi, eax
add esp, 0xc
test esi, esi
jg 0x4e4c4c
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e4c94
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4e4c4c
mov dword [esp + 0x10], str..._osfile.cpp
mov dword [esp + 0x14], 0x1be
mov dword [esp + 0x18], 0xa
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x14]
push str.FAILED:_read:__d
push edx
call fcn.004e3840
add esp, 0xc
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e4c94
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x4e4c94
xor eax, eax
cmp esi, edi
sete al
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], str..._osfile.cpp
mov dword [esp + 0x14], 0x1c1
mov dword [esp + 0x18], 0x28
push eax
push str._EXITING__PzLocalFile::Read__:__d
push ecx
call fcn.004e3840
add esp, 0xc
xor eax, eax
cmp esi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x10
ret 0xc
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e4ce7
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e4ce7
push 0
lea ecx, [esp + 0x14]
push str._EXITING__PzLocalFile::Read__:__d
push ecx
mov dword [esp + 0x1c], str..._osfile.cpp
mov dword [esp + 0x20], 0x1c5
mov dword [esp + 0x24], 0x28
call fcn.004e3840
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4e7f50
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x633a11], 0
jne 0x4e7fe9
push esi
mov esi, dword [sym.imp.MSVCR90.dll_getenv]
push edi
push str.OZ_ACCESS_DELAY
call esi
mov edi, dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
test eax, eax
je 0x4e7f84
push eax
call edi
add esp, 4
mov dword [0x62f764], eax
push str.OZ_ACCESS_FREQ
call esi
add esp, 4
test eax, eax
je 0x4e7f9d
push eax
call edi
add esp, 4
mov dword [0x62f768], eax
push str.OZ_AUTH_TYPE
call esi
add esp, 4
pop edi
pop esi
test eax, eax
je 0x4e7fdb
mov ecx, str.NTLM
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e7fd2
test dl, dl
je 0x4e7fce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e7fd2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e7fb2
xor eax, eax
jmp 0x4e7fd7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e7fe2
mov byte [0x633a10], 1
mov byte [0x633a11], 1
ret

Function at 0x4e95e0
Capabilities:
Get socket status

Disassembly:
mov ecx, dword [0x633a04]
sub esp, 0x11c
push ebx
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, dword [esp + 0x130]
mov ebx, str..._xsocket.cpp
test ecx, ecx
je 0x4e963a
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e963a
push edi
push esi
lea eax, [esp + 0x14]
push str._ENTERING__PzExtSocket::Readable_fd_d__sec_d_
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x78
mov dword [esp + 0x24], 0x14
call fcn.004e3840
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
lea edx, [esp + 0x30]
mov dword [esp + 0x34], esi
push edx
inc esi
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call sub.WSOCK32.dll_select
mov ecx, dword [0x633a04]
test eax, eax
je 0x4e96be
cmp eax, 0xffffffff
je 0x4e96fa
test ecx, ecx
je 0x4e96b0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x4e96b0
lea eax, [esp + 0xc]
push str._EXITING__PzExtSocket::Readable:_true
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x8f
mov dword [esp + 0x1c], 0x28
call fcn.004e3840
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x11c
ret 8
test ecx, ecx
je 0x4e9772
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x32
jl 0x4e9736
lea ecx, [esp + 0xc]
push str.TIMEOUT:_select
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x87
mov dword [esp + 0x1c], 0x32
call fcn.004e3840
add esp, 8
jmp 0x4e9736
test ecx, ecx
je 0x4e9772
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4e9736
call sub.WSOCK32.dll_WSAGetLastError
push eax
lea ecx, [esp + 0x10]
push str.FAILED:_select:__d
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x89
mov dword [esp + 0x20], 0xa
call fcn.004e3840
add esp, 0xc
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4e9772
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e9772
lea ecx, [esp + 0xc]
push str._EXITING__PzExtSocket::Readable:_false
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x8b
mov dword [esp + 0x1c], 0x28
call fcn.004e3840
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x11c
ret 8
Function at 0x4e9780
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [0x633a04]
push esi
push edi
mov edi, dword [esp + 0x20]
test ecx, ecx
je 0x4e97cd
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e97cd
push edi
lea eax, [esp + 0x10]
push str._ENTER__PzExtSocket::_SendMess_length_d_
push eax
mov dword [esp + 0x18], str..._xsocket.cpp
mov dword [esp + 0x1c], 0xae
mov dword [esp + 0x20], 0x14
call fcn.004e3840
add esp, 0xc
push edi
call sub.WSOCK32.dll_htonl
add edi, 4
xor esi, esi
mov dword [ebx + 8], eax
test edi, edi
jle 0x4e9825
nop
mov eax, dword [ebx]
push 0
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebx + esi + 8]
push edx
push eax
call sub.WSOCK32.dll_send
test eax, eax
jle 0x4e9800
add esi, eax
cmp esi, edi
jl 0x4e97e0
jmp 0x4e9825
jge 0x4e980e
call sub.WSOCK32.dll_WSAGetLastError
mov dword [0x633a18], eax
jmp 0x4e9818
mov dword [0x633a18], 0
mov dword [0x633a14], 8
or esi, 0xffffffff
add ebx, 4
push ebx
call dword [sym.imp.MSVCR90.dll__time32]
mov ecx, dword [0x633a04]
add esp, 4
test ecx, ecx
je 0x4e9873
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e9873
push esi
lea ecx, [esp + 0x10]
push str._EXIT__PzExtSocket::_SendMess__:_d
push ecx
mov dword [esp + 0x18], str..._xsocket.cpp
mov dword [esp + 0x1c], 0xc3
mov dword [esp + 0x20], 0x28
call fcn.004e3840
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4e9f20
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov ecx, dword [0x633a04]
sub esp, 0x14
push ebp
push esi
mov esi, eax
mov ebp, str..._xsocket.cpp
test ecx, ecx
je 0x4e9f88
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e9f88
test ebx, ebx
je 0x4e9f50
mov eax, dword [ebx]
push eax
call sub.WSOCK32.dll_inet_ntoa
jmp 0x4e9f55
mov eax, str._NULL_
mov ecx, esi
test esi, esi
jne 0x4e9f60
mov ecx, str._null_
push eax
push ecx
lea ecx, [esp + 0x14]
push str._ENTERING__GetHostEntry_name_s__inaddr_s_
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x1dc
mov dword [esp + 0x24], 0x14
call fcn.004e3840
add esp, 0x10
push esi
call sub.WSOCK32.dll_inet_addr
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x4ea001
push esi
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x4e9fb9
test ebx, ebx
je 0x4ea07c
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x4ea07c
mov dword [0x633a14], 1
call fcn.004e9540
mov ecx, dword [0x633a04]
mov dword [0x633a18], eax
test ecx, ecx
je 0x4ea0e0
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4ea07c
mov ecx, dword [0x633a18]
push ecx
mov dword [esp + 0x14], 0x1ee
push str.FAILED:_gethostbyname:__d
jmp 0x4ea063
push 2
push 4
lea eax, [esp + 0x10]
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov esi, eax
test esi, esi
je 0x4ea021
test ebx, ebx
je 0x4ea07c
mov ecx, dword [esp + 8]
mov dword [ebx], ecx
jmp 0x4ea07c
mov dword [0x633a14], 2
call fcn.004e9540
mov ecx, dword [0x633a04]
mov dword [0x633a18], eax
test ecx, ecx
je 0x4ea0e0
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4ea07c
mov ecx, dword [0x633a18]
push ecx
mov dword [esp + 0x14], 0x1fb
push str.FAILED:_gethostbyaddr:__d
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], 0xa
call fcn.004e3840
add esp, 0xc
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4ea0e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x4ea0e0
push edi
test esi, esi
je 0x4ea09f
mov eax, dword [esi]
mov edi, eax
test eax, eax
jne 0x4ea0a4
mov edi, str._NULL_
test ebx, ebx
je 0x4ea0b2
mov eax, dword [ebx]
push eax
call sub.WSOCK32.dll_inet_ntoa
jmp 0x4ea0b7
mov eax, str._NULL_
push edi
push eax
lea ecx, [esp + 0x18]
push str._EXITING__GetHostEntry_inaddr_s_:__s
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x1ff
mov dword [esp + 0x28], 0x28
call fcn.004e3840
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x4ea630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de323
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x34]
push 0
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.PzExtAuthClient.0
call fcn.004da9d0
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], 0
push 0
lea ecx, [esi + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.PzExtAuthClient_ww.0
call fcn.004da650
mov ecx, dword [0x633a04]
mov byte [esp + 0x28], 1
test ecx, ecx
je 0x4ea6f2
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x14
jl 0x4ea6f2
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4ea6bb
mov ecx, 0x5eeb66
mov eax, edi
test edi, edi
jne 0x4ea6c6
mov eax, 0x5eeb66
push ecx
push eax
lea ecx, [esp + 0x18]
push str._ENTER__PzExtAuthClient_ww::PzExtAuthClient_ww__hostname_s__package_s_
push ecx
mov dword [esp + 0x20], str..._xauthc.cpp
mov dword [esp + 0x24], 0xaf
mov dword [esp + 0x28], 0x14
call fcn.004e3840
add esp, 0x10
call fcn.004ee750
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.004edb90
push str.OZ_AUTH_TYPE
call fcn.004ebdb0
mov edi, eax
add esp, 4
test edi, edi
je 0x4ea722
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ea717
sub eax, edx
jne 0x4ea727
mov edi, str.NTLM
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4ea773
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x32
jl 0x4ea773
mov eax, edi
test edi, edi
jne 0x4ea748
mov eax, str._null_
push eax
lea ecx, [esp + 0x14]
push str.__auth_type:__s
push ecx
mov dword [esp + 0x1c], str..._xauthc.cpp
mov dword [esp + 0x20], 0xbd
mov dword [esp + 0x24], 0x32
call fcn.004e3840
add esp, 0xc
mov edx, dword [esi + 0x28]
mov eax, dword [edx]
mov edx, dword [eax + 0x44]
lea ecx, [esi + 0x24]
push ecx
push edi
call edx
mov ecx, dword [0x633a04]
test ecx, ecx
je 0x4ea7c2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x28
jl 0x4ea7c2
lea eax, [esp + 0x10]
push str._EXIT__PzExtAuthClient_ww::PzExtAuthClient_ww
push eax
mov dword [esp + 0x18], str..._xauthc.cpp
mov dword [esp + 0x1c], 0xc1
mov dword [esp + 0x20], 0x28
call fcn.004e3840
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x4ebd00
Capabilities:
Get hostname

Disassembly:
mov ecx, dword [0x633a04]
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x4ebd4f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4ebd4f
push esi
push edi
lea eax, [esp + 0x10]
push str._ENTERING__PzGetHostName_buff_p__size_u_
push eax
mov dword [esp + 0x18], str..._xutil.cpp
mov dword [esp + 0x1c], 0x24d
mov dword [esp + 0x20], 0x14
call fcn.004e3840
add esp, 0x10
push esi
push edi
call sub.WSOCK32.dll_gethostname
mov ecx, dword [0x633a04]
mov esi, eax
test ecx, ecx
je 0x4ebda3
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4ebda3
test edi, edi
jne 0x4ebd77
mov edi, str._null_
push esi
push edi
lea ecx, [esp + 0x10]
push str._EXITING__PzGetHostName_buff_s_:__d
push ecx
mov dword [esp + 0x18], str..._xutil.cpp
mov dword [esp + 0x1c], 0x251
mov dword [esp + 0x20], 0x28
call fcn.004e3840
add esp, 0x10
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x4f0210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5de738
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.004f92a0
lea ecx, [esi + 0x14]
mov dword [esp + 0x80], 0
mov dword [esi], vtable.ZgeoArc.0
call fcn.004f5c30
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
mov dword [esi + 8], ecx
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
push ecx
push edi
mov dword [esi + 0x10], eax
call fcn.004fb770
fst qword [esp + 0x30]
add esp, 4
fstp qword [esp]
call fcn.004fbdc0
add esp, 8
test eax, eax
je 0x4f0340
mov eax, dword [edi]
cmp dword [ebx], eax
jne 0x4f0300
mov edx, dword [edi + 4]
cmp dword [ebx + 4], edx
jne 0x4f0300
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x4f02bd
cmp dword [ebx + 4], edx
je 0x4f0300
mov eax, dword [ebx + 4]
sub ecx, dword [edi]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004efb70
push eax
lea ecx, [esi + 0x14]
call fcn.00507ae0
push ebx
mov ecx, edi
call fcn.005ba770
fld qword [0x5eede8]
fmul st(1), st(0)
faddp st(1)
call fcn.005bf3a0
mov edx, 2
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], dx
jmp 0x4f03fb
fldz
sub esp, 0x10
fst qword [esp + 8]
lea ecx, [esp + 0x4c]
fstp qword [esp]
mov dword [esi + 0x1c], 0
call fcn.004efc30
push eax
lea ecx, [esi + 0x14]
call fcn.00507ae0
push 0x305
call fcn.005be2b0
mov eax, 1
add esp, 4
mov word [esi + 0x20], ax
jmp 0x4f03fb
fldz
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x4f0355
xor ecx, ecx
mov word [esi + 0x20], cx
jmp 0x4f035e
mov edx, 1
mov word [esi + 0x20], dx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push edx
push edi
call fcn.004fe990
fild dword [esi + 4]
add esp, 4
fsubr qword [esp + 0x3c]
fst qword [esp + 0x34]
fild dword [esi + 8]
fsubr qword [esp + 0x44]
fst qword [esp + 0x4c]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004fe760
fld qword [0x5eede8]
add esp, 0x10
fadd st(1), st(0)
fxch st(1)
call fcn.005bf3a0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov dword [esi + 0x1c], eax
fdivr qword [0x5fcee8]
fld qword [esp + 0x24]
fmul st(1)
fxch st(1)
fmul qword [esp + 0x3c]
fldz
fcom st(2)
fnstsw ax
fxch st(2)
test ah, 0x41
jp 0x4f03d8
fadd st(3)
jmp 0x4f03da
fsub st(3)
call fcn.005bf3a0
fcom st(1)
mov dword [esi + 0x14], eax
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4f03f1
faddp st(1)
jmp 0x4f03f3
fsubrp st(1)
call fcn.005bf3a0
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f07c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e3528
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004f92a0
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi], vtable.ZgeoArc.0
call fcn.004f5c30
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [ecx]
mov dword [esi + 0xc], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], edx
mov word [esi + 0x20], cx
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 4]
jne 0x4f084a
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 8]
jne 0x4f084a
or ecx, 2
mov word [esi + 0x20], cx
mov ecx, dword [esp + 0x24]
fild dword [esp + 0x2c]
mov edx, dword [ecx]
sub edx, dword [eax]
fdivr qword [0x5fcee8]
mov ecx, dword [ecx + 4]
sub ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fmul st(1)
fild dword [esp + 0x2c]
fmulp st(2)
fldz
fcom st(1)
fnstsw ax
fld qword [0x5eede8]
test ah, 0x41
jp 0x4f088b
fadd st(2), st(0)
jmp 0x4f088d
fsub st(2), st(0)
fxch st(2)
call fcn.005bf3a0
fcomp st(2)
mov dword [edi], eax
fnstsw ax
test ah, 0x41
jp 0x4f08a3
faddp st(1)
jmp 0x4f08a5
fsubp st(1)
call fcn.005bf3a0
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14

Function at 0x4f3650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de898
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x40]
push esi
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004fd300
add esp, 0xc
mov edi, eax
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
lea ecx, [edi + 0x14]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x1c]
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x3c], 0
mov dword [esi + 0x1c], eax
call fcn.00507ae0
mov dx, word [edi + 0x20]
lea ecx, [esp + 0xc]
mov word [esi + 0x20], dx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0xc], vtable.ZgeoArc.0
call fcn.004f92b0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x4f77d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e5840
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x20]
call fcn.004f92a0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
mov edi, vtable.ZgeoLine.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.004f92a0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x44]
cdq
sub eax, edx
mov esi, eax
push 0
sar esi, 1
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.004f7380
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.004f7380
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x1c], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 0x18], edx
mov byte [esp + 0x3c], 0
mov dword [esp + 0xc], edi
call fcn.004f92b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], edi
call fcn.004f92b0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 8

Function at 0x4fb0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dec71
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.004fda90
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.004fa700
test eax, eax
jne 0x4fb11c
mov ecx, edi
call fcn.0047eb20
push eax
mov ecx, edi
call fcn.0047eb20
push eax
mov ecx, esi
call fcn.004f5f00
jmp 0x4fb126
push esi
lea ecx, [esp + 0x18]
call fcn.004fd740
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.004fe3f0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005bf276
add esp, 0x28
ret 4