joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432c60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468f18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432c99
inc eax
mov dword [esi + 0x10], eax
jmp 0x432dac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x432cad
mov eax, 0xffffffc7
jmp 0x432dae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x432cbe
cmp dword [esi + 8], eax
jne 0x432cad
cmp dword [esi + 8], eax
jne 0x432cd7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432cd7
mov eax, 0xffffffc7
jmp 0x432dae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x432ceb
push eax
mov ecx, ebx
call fcn.00432490
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402960
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x432d1c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402980
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431c00
test eax, eax
mov dword [esp + 0x38], eax
je 0x432d4f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d538
call fcn.00402b60
mov eax, dword [esp + 0x38]
jmp 0x432dae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432ac0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432d93
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432ae0
mov esi, eax
test esi, esi
jne 0x432dc3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432ac0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432d65
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d538
call fcn.00402b60
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d538
call fcn.00402b60
mov eax, esi
jmp 0x432dae

Function at 0x435ee0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435f40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435f40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435f40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435f40
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435f80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43bea0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004622d1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b840
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004621ff
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045eac8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045eac8
push 1
push 0
push 0
mov ecx, esi
call fcn.0045ea70
push 1
push 0
push 1
mov ecx, esi
call fcn.0045ea70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462343
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43c020
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004622d1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b840
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004621ff
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43c0e4
cmp dword [esp + 0x40], 1
jne 0x43c0e2
cmp ecx, eax
jge 0x43c0e4
mov eax, ecx
cmp eax, 0xc8
jge 0x43c0f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043bea0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462343
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c870
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4695d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045cee4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00462579
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463a95
test eax, eax
je 0x43c98c
mov ecx, dword [esp + 0x3c]
call fcn.004625a6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c950
push edi
mov ecx, esi
call fcn.0045fc13
mov ecx, esi
call fcn.0043caf0
cmp dword [esp + 0x38], 1
jne 0x43c985
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045fd4e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f3b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f3e3
push esi
call fcn.004424c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f3dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f469
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f452
mov eax, dword [esi + 8]
test eax, eax
je 0x43f407
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f44e
cmp eax, 2
je 0x43f452
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f3fa
cmp eax, 3
je 0x43f42d
cmp eax, 1
jne 0x43f3fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f3fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f3fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f490
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f478
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f490
add esp, 4
pop esi
ret

Function at 0x45dcd9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45dd11
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045bd8d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045bd65
jmp 0x45dd1d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45f412
call fcn.00464e85
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f412
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f409
xor eax, eax
jmp 0x45f41a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f420
pop edi
pop esi
pop ebx
ret 4

Function at 0x4653b5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4653e3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465401
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046531b
jmp 0x465401
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465401
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046531b
test edi, edi
mov eax, edi
jne 0x4653eb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40151c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
add esp, 0xfffffff4
mov eax, dword [ebp - 4]
push eax
call sym._malloc
add esp, 0x10
mov eax, eax
mov dword [ebp - 8], eax
add esp, 0xfffffff8
push 0x4014d0
mov eax, dword [ebp + 0x10]
push eax
call sym._fopen
add esp, 0x10
mov eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4015a0
add esp, 0xfffffffc
mov eax, dword [ebp + 0x10]
push eax
push 0x4014f0
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
mov esi, esi
nop
add esp, 0xfffffffc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sym._fgets
add esp, 0x10
mov eax, eax
test eax, eax
jne 0x4015c3
jmp 0x401662
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x4015fe
mov eax, dword [ebp - 0x10]
mov edx, eax
lea eax, [edx + edx]
lea edx, [eax + 0xa]
mov dword [ebp - 0x10], edx
add esp, 0xfffffff8
mov edx, dword [ebp - 0x10]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sym._realloc
add esp, 0x10
mov eax, eax
mov dword [ebp - 0x18], eax
add esp, 0xfffffff4
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, edx
add eax, dword [ebp - 0x18]
lea edx, [eax + 8]
push edx
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, edx
add eax, dword [ebp - 0x18]
lea edx, [eax + 4]
push edx
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, edx
add eax, dword [ebp - 0x18]
push eax
push 0x401512
mov eax, dword [ebp - 8]
push eax
call sym._sscanf
add esp, 0x20
inc dword [ebp - 0xc]
jmp 0x4015a1
add esp, 0xfffffff4
mov eax, dword [ebp - 0x14]
push eax
call sym._fclose
add esp, 0x10
add esp, 0xfffffff4
mov eax, dword [ebp - 8]
push eax
call sym._free
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
jmp 0x4016a0
leave
ret
Function at 0x4016e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
add esp, 0xfffffff8
push 0x4016a2
mov eax, dword [ebp + 8]
push eax
call sym._fopen
add esp, 0x10
mov eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401730
add esp, 0xfffffffc
mov eax, dword [ebp + 8]
push eax
push 0x4016b0
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
nop
nop
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jl 0x401742
jmp 0x4017b0
mov edx, dword [ebp - 4]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
fld dword [eax + edx + 8]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 4]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
fld dword [eax + edx + 4]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 4]
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax*4]
mov eax, dword [ebp + 0x10]
fld dword [eax + edx]
sub esp, 8
fstp qword [esp]
push 0x4016d3
mov eax, dword [ebp - 8]
push eax
call sym._fprintf
add esp, 0x20
inc dword [ebp - 4]
jmp 0x401738
add esp, 0xfffffff4
mov eax, dword [ebp - 8]
push eax
call sym._fclose
add esp, 0x10
jmp 0x4017c1
leave
ret
Function at 0x4019d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push edi
push esi
push ebx
mov ebx, dword [ebp + 8]
add esp, 0xfffffff4
mov eax, dword [ebp + 0xc]
push eax
call sym._strlen
add esp, 0x10
mov eax, eax
cmp eax, 2
je 0x401a01
cmp eax, 3
je 0x401a20
jmp 0x401a40
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
push 0x401982
mov eax, dword [ebp + 0xc]
push eax
call sym._sscanf
add esp, 0x10
jmp 0x401a70
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
push 0x401989
mov eax, dword [ebp + 0xc]
push eax
call sym._sscanf
add esp, 0x10
jmp 0x401a70
add esp, 0xfffffffc
mov eax, dword [ebp + 0xc]
push eax
push 0x401990
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
jmp 0x401a70
mov al, byte [ebp - 1]
cmp al, 0x53
je 0x401aa0
cmp al, 0x53
jg 0x401a81
cmp al, 0x4e
je 0x401a90
jmp 0x401ab0
cmp al, 0x6e
je 0x401a90
cmp al, 0x73
je 0x401aa0
jmp 0x401ab0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x401ae0
fld qword [0x4019b0]
fstp qword [ebp - 0x10]
jmp 0x401ae0
add esp, 0xfffffffc
mov eax, dword [ebp + 0xc]
push eax
push 0x401990
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
jmp 0x401ae0
mov edx, dword [ebp - 8]
dec edx
mov eax, edx
add eax, eax
add eax, edx
lea edx, [eax + eax]
lea eax, [edx - 0xb1]
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp qword [ebp - 0x18]
fld qword [0x4019b8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x10]
fstp qword [ebp - 0x48]
fld qword [0x4019c0]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x18]
fld qword [0x4019c8]
fmulp st(1)
fld qword [0x4019d0]
fdivp st(1)
fstp qword [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov edi, ebx
lea esi, [ebp - 0x50]
cld
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
jmp 0x401b47
mov eax, ebx
lea esp, [ebp - 0x78]
pop ebx
pop esi
pop edi
leave
ret 4
Function at 0x4028d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push edi
push esi
fld qword [ebp + 0xc]
fstp qword [ebp - 8]
fld qword [ebp + 0x14]
fstp qword [ebp - 0x10]
lea eax, [ebp - 0x60]
add esp, 0xfffffff4
push eax
call sym._ellipsoid_WGS84
add esp, 0xc
lea eax, [ebp - 0x90]
add esp, 0xfffffff4
push eax
call sym._proj_OSGB36
add esp, 0xc
add esp, 0xfffffff8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 8]
sub esp, 8
fstp qword [esp]
add esp, 0xffffffd8
mov edi, esp
lea esi, [ebp - 0x90]
cld
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add esp, 0xffffffe8
mov edi, esp
lea esi, [ebp - 0x60]
cld
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call sym._geod2NE
add esp, 0x60
add esp, 0xfffffffc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
fld qword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 0x18]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 8]
push eax
call sym._OSTN02_shift
add esp, 0x20
fld qword [ebp - 0x18]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x4029e0
fld qword [ebp - 0x40]
fld qword [0x4028c0]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x4029e0
fld qword [ebp - 0x38]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x4029e0
fld qword [ebp - 0x38]
fld qword [0x4028c8]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x4029e0
jmp 0x402a10
add esp, 0xfffffff4
fld qword [ebp - 0x40]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 0x38]
sub esp, 8
fstp qword [esp]
push 0x402890
call sym._printf
add esp, 0x20
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
nop
add esp, 0xfffffff8
fld qword [0x4028d0]
fld qword [ebp - 0x38]
faddp st(1)
sub esp, 8
fstp qword [esp]
call sym._floor
add esp, 0x10
mov eax, dword [ebp + 0x20]
fstp qword [eax]
add esp, 0xfffffff8
fld qword [0x4028d0]
fld qword [ebp - 0x40]
faddp st(1)
sub esp, 8
fstp qword [esp]
call sym._floor
add esp, 0x10
mov eax, dword [ebp + 0x1c]
fstp qword [eax]
jmp 0x402a54
lea esp, [ebp - 0xa8]
pop esi
pop edi
leave
ret
Function at 0x402bd8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push edi
push esi
fld qword [ebp + 8]
fstp qword [ebp - 8]
fld qword [ebp + 0x10]
fstp qword [ebp - 0x10]
lea eax, [ebp - 0x40]
add esp, 0xfffffff4
push eax
call sym._ellipsoid_AIRY1830
add esp, 0xc
lea eax, [ebp - 0x70]
add esp, 0xfffffff4
push eax
call sym._proj_OSGB36
add esp, 0xc
add esp, 0xfffffff8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 8]
sub esp, 8
fstp qword [esp]
add esp, 0xffffffd8
mov edi, esp
lea esi, [ebp - 0x70]
cld
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add esp, 0xffffffe8
mov edi, esp
lea esi, [ebp - 0x40]
cld
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call sym._geod2NE
add esp, 0x60
fld qword [ebp - 0x20]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x402ca0
fld qword [ebp - 0x20]
fld qword [0x402bc0]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x402ca0
fld qword [ebp - 0x18]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x402ca0
fld qword [ebp - 0x18]
fld qword [0x402bc8]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x402ca0
jmp 0x402cd0
add esp, 0xfffffff4
fld qword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 0x18]
sub esp, 8
fstp qword [esp]
push 0x402890
call sym._printf
add esp, 0x20
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
nop
add esp, 0xfffffff8
fld qword [0x402bd0]
fld qword [ebp - 0x18]
faddp st(1)
sub esp, 8
fstp qword [esp]
call sym._floor
add esp, 0x10
mov eax, dword [ebp + 0x1c]
fstp qword [eax]
add esp, 0xfffffff8
fld qword [0x402bd0]
fld qword [ebp - 0x20]
faddp st(1)
sub esp, 8
fstp qword [esp]
call sym._floor
add esp, 0x10
mov eax, dword [ebp + 0x18]
fstp qword [eax]
jmp 0x402d14
lea esp, [ebp - 0x88]
pop esi
pop edi
leave
ret
Function at 0x402d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push edi
push esi
fld qword [ebp + 8]
fstp qword [ebp - 8]
fld qword [ebp + 0x10]
fstp qword [ebp - 0x10]
lea eax, [ebp - 0x30]
add esp, 0xfffffff4
push eax
call sym._ellipsoid_AIRY1830
add esp, 0xc
lea eax, [ebp - 0x60]
add esp, 0xfffffff4
push eax
call sym._proj_OSGB36
add esp, 0xc
fld qword [ebp - 8]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x402db0
fld qword [ebp - 8]
fld qword [0x402d20]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x402db0
fld qword [ebp - 0x10]
fldz
fcompp
fnstsw ax
and ah, 0x45
je 0x402db0
fld qword [ebp - 0x10]
fld qword [0x402d28]
fcompp
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x402db0
jmp 0x402de0
add esp, 0xfffffff4
fld qword [ebp - 8]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
push 0x402890
call sym._printf
add esp, 0x20
add esp, 0xfffffff4
push 1
call sym._exit
add esp, 0x10
nop
add esp, 0xfffffff8
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
fld qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
fld qword [ebp - 8]
sub esp, 8
fstp qword [esp]
add esp, 0xffffffd8
mov edi, esp
lea esi, [ebp - 0x60]
cld
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add esp, 0xffffffe8
mov edi, esp
lea esi, [ebp - 0x30]
cld
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call sym._NE2geod
add esp, 0x60
jmp 0x402e27
lea esp, [ebp - 0x78]
pop esi
pop edi
leave
ret