Function at 0x416420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4d09f4]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x4d09f0]
push eax
push ecx
push edx
call sub.KStream.dll_OpenTxtFile
test eax, eax
jne 0x416471
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
mov ecx, esi
call fcn.004127a0
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push str.SECTION
call sub.KStream.dll_WriteTxtFile
push 0x4a8de8
call sub.KStream.dll_WriteTxtFile
push 0x4a8dd4
call sub.KStream.dll_WriteTxtFile
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x24], 0
je 0x416969
jmp 0x4164d0
mov eax, dword [esp + 0x14]
lea ecx, [ecx]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x41695d
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41661c
jmp 0x4164f5
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x44]
test eax, eax
mov dword [esp + 0x10], edx
jne 0x416610
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8dc8
call sub.KStream.dll_WriteTxtFile
push 0x4a8dc0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [edi + 4]
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db8
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a8450
push edx
call fcn.00403140
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db0
call sub.KStream.dll_WriteTxtFile
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x4a8450
push eax
call fcn.00403140
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call sub.KStream.dll_WriteTxtFile
push 0x4a8da8
call sub.KStream.dll_WriteTxtFile
push 0x4a8da0
call sub.KStream.dll_WriteTxtFile
push 0x4a8d98
call sub.KStream.dll_WriteTxtFile
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x4a8450
push ecx
call fcn.00403140
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call sub.KStream.dll_WriteTxtFile
push 0x4a8d90
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a8450
push edx
call fcn.00403140
mov ebx, dword [esp + 0x1c]
add esp, 0x10
push ebx
call sub.KStream.dll_WriteTxtFile
push 0x4a8d88
call sub.KStream.dll_WriteTxtFile
push 0x4a8da0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4164f1
mov eax, dword [edi + 0x78]
test eax, eax
je 0x41679f
jmp 0x416630
mov eax, dword [esp + 0x10]
lea ecx, [ecx]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x6c]
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x416793
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8d80
call sub.KStream.dll_WriteTxtFile
push 0x4a8dc0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [edi + 4]
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db8
call sub.KStream.dll_WriteTxtFile
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x4a8450
push ecx
call fcn.00403140
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call sub.KStream.dll_WriteTxtFile
push 0x4a8db0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a8450
push edx
call fcn.00403140
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8da8
call sub.KStream.dll_WriteTxtFile
push 0x4a8da0
call sub.KStream.dll_WriteTxtFile
push 0x4a8d78
call sub.KStream.dll_WriteTxtFile
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x4a8450
push eax
call fcn.00403140
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call sub.KStream.dll_WriteTxtFile
push 0x4a8d70
call sub.KStream.dll_WriteTxtFile
push str.AcDbArc
call sub.KStream.dll_WriteTxtFile
push 0x4a8d58
call sub.KStream.dll_WriteTxtFile
fld qword [esi + 0x28]
fdiv qword [0x4a8cb8]
sub esp, 8
lea edx, [esp + 0x14]
fmul qword [0x4a8d50]
fstp qword [esp]
push 0x4a8450
push edx
call fcn.00403140
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8d48
call sub.KStream.dll_WriteTxtFile
fld qword [esi + 0x30]
fdiv qword [0x4a8cb8]
sub esp, 8
fmul qword [0x4a8d50]
fstp qword [esp]
lea ecx, [esp + 0x14]
push 0x4a8450
push ecx
call fcn.00403140
mov ebx, dword [esp + 0x1c]
add esp, 0x10
push ebx
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x416629
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x416895
jmp 0x4167b0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x10], edx
jne 0x416889
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8d38
call sub.KStream.dll_WriteTxtFile
push 0x4a8dc0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [edi + 4]
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db8
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a8450
push edx
call fcn.00403140
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db0
call sub.KStream.dll_WriteTxtFile
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x4a8450
push eax
call fcn.00403140
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call sub.KStream.dll_WriteTxtFile
push 0x4a8da8
call sub.KStream.dll_WriteTxtFile
push 0x4a8da0
call sub.KStream.dll_WriteTxtFile
push 0x4a8d78
call sub.KStream.dll_WriteTxtFile
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x4a8450
push ecx
call fcn.00403140
mov ebx, dword [esp + 0x1c]
add esp, 0x10
push ebx
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4167ac
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41695d
jmp 0x4168a6
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x24]
test eax, eax
mov dword [esp + 0x10], edx
jne 0x416951
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8d2c
call sub.KStream.dll_WriteTxtFile
push 0x4a8dc0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [edi + 4]
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db8
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4a8450
push edx
call fcn.00403140
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call sub.KStream.dll_WriteTxtFile
push 0x4a8db0
call sub.KStream.dll_WriteTxtFile
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x4a8450
push eax
call fcn.00403140
mov ebx, dword [esp + 0x1c]
add esp, 0x10
push ebx
call sub.KStream.dll_WriteTxtFile
push 0x4a8da8
call sub.KStream.dll_WriteTxtFile
push 0x4a8da0
call sub.KStream.dll_WriteTxtFile
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4168a2
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4164c9
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8d1c
call sub.KStream.dll_WriteTxtFile
push 0x4a8e00
call sub.KStream.dll_WriteTxtFile
push 0x4a8d14
call sub.KStream.dll_WriteTxtFile
call sub.KStream.dll_CloseTxtFile
add ebx, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4169b8
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4