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

Disassembly:
push 0xffffffffffffffff
push 0x561f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x590], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x5a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5b8]
xor edi, edi
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x46414e
push 0x208
lea eax, [esp + 0x198]
push eax
push 4
call fcn.00412940
lea ecx, [esp + 0x1a0]
add esp, 0xc
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.00450b40
add esp, 8
mov dword [esp + 0x18], eax
xor ebx, ebx
call fcn.0050830c
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x464184
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [0x5b4bbc]
cmp eax, edi
mov dword [esp + 0x5b0], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
jle 0x46471e
mov dword [esp + 0x30], edi
jmp 0x4641c0
mov ecx, dword [0x5b4bb8]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + ecx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x144]
mov dword [esp + 0x44], ecx
call edx
mov esi, eax
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.00405fa0
mov ebp, dword [esp + 0x34]
cmp dword [ebp - 0xc], edi
je 0x464704
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov dword [esp + 0x38], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call edx
mov edi, eax
push 0x57e3a8
mov ecx, esi
mov dword [esp + 0x4c], edi
call fcn.0050ae41
test eax, eax
je 0x464614
mov eax, dword [str._s_d]
push ebx
push str.Workspace
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.00411b30
push 0x57bd68
push ebp
push str.File
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
inc ebx
push ecx
mov dword [esp + 0x78], ebx
call fcn.0044f190
mov edx, dword [edi + 0x74]
push 0
push edx
push str.Line
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0044f590
mov eax, dword [edi + 0x70]
add esp, 0x40
push 0
push eax
push str.Index
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
add esp, 0x18
cmp dword [esi + 0x60], 0
je 0x4642c9
cmp dword [esi + 0x64], 0
jne 0x4642c9
mov eax, 1
jmp 0x4642cb
xor eax, eax
push 0
push eax
push str.Read_Only
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
mov eax, dword [esi + 0xf0]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov ebp, dword [esi + 0x2d0]
xor ecx, ecx
add esp, 0x1c
cmp dword [esi + 0xf0], ecx
mov edi, eax
jle 0x464343
xor eax, eax
test ebp, ebp
jle 0x464343
xor edx, edx
mov ebx, dword [esi + 0x31c]
cmp dword [edx + ebx + 0x14], 0
je 0x464337
lea ebx, [eax + 1]
mov dword [edi + ecx*4], ebx
inc ecx
inc eax
add edx, 0x24
cmp eax, ebp
jl 0x464323
mov ebx, dword [esp + 0x50]
push 0
push ecx
push str.Marker_Count
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0044f590
mov eax, dword [esi + 0xf0]
add eax, eax
add eax, eax
push eax
push edi
push str.Marker
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0044f620
push edi
call fcn.004ff267
add esp, 0x34
cmp dword [0x5ed6f4], 0
je 0x4644a0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00474c90
mov eax, dword [esp + 0x24]
push 0
push eax
push str.Folding_Count
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
mov ecx, dword [esp + 0x6c]
push 0
push ecx
push str.Date_High
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0044f590
mov edx, dword [esp + 0x7c]
push 0
push edx
push str.Date_Low
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.0044f590
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x84]
add esp, 0x48
lea ecx, [eax*4]
push ecx
push edx
push str.Folding
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0044f620
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
lea ecx, [eax*4]
push ecx
push edx
push str.Folded_Line
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0044f620
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ff267
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004ff267
add esp, 0x38
mov eax, dword [esp + 0x20]
cmp eax, dword [0x5ede44]
jne 0x4644b0
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], 0x2c
call fcn.005008b1
test eax, eax
je 0x4644f7
lea eax, [esp + 0xa0]
push eax
push str.Placement
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044f8b0
add esp, 0x14
mov ecx, dword [esi + 0xf8]
push 0
push ecx
push str.Converter
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044f590
add esp, 0x18
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x33], 0
call fcn.00472280
push 0
mov edi, eax
push edi
push str.Splitter
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
movsx ecx, byte [esp + 0x37]
push 0
push ecx
push str.Active_View
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0044f590
add esp, 0x30
test edi, edi
je 0x4645ea
xor edi, edi
mov edx, dword [esp + edi + 0x5c]
mov eax, dword [edi + 0x5b3eb4]
push 0
push edx
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
mov ecx, dword [esp + edi + 0x80]
mov edx, dword [edi + 0x5b3ec0]
push 0
push ecx
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0044f590
add edi, 4
add esp, 0x30
cmp edi, 0xc
jl 0x464592
mov eax, dword [esi + 0x78]
push 0
push eax
push str.Wrap
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0044f590
add esp, 0x18
jmp 0x464704
push 0x579ddc
mov ecx, esi
call fcn.0050ae41
test eax, eax
je 0x464704
mov ecx, dword [str._s_d]
push ebx
push str.Workspace
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.00411b30
push 0x57bd68
push ebp
push str.File
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
inc ebx
call fcn.0044f190
mov eax, dword [esp + 0x48]
add esp, 0x28
cmp eax, dword [0x5ede44]
jne 0x464678
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], 0x2c
call fcn.005008b1
test eax, eax
je 0x4646b6
lea ecx, [esp + 0x74]
push ecx
push str.Placement
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0044f8b0
add esp, 0x14
push 0
push 0x186a0
push str.Converter
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044f590
mov edx, dword [edi + 0x6c]
shl edx, 4
add edx, dword [edi + 0x70]
push 0
push edx
push str.Offset
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0044f590
add esp, 0x30
mov eax, dword [esp + 0x20]
add dword [esp + 0x30], 0xc
inc eax
xor edi, edi
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
jl 0x4641c0
mov eax, dword [str._s_d]
push ebx
push str.Workspace
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.00411b30
push 1
push edi
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0044dad0
add esp, 0x24
test eax, eax
je 0x464794
mov edx, dword [str._s_d]
inc ebx
push ebx
push str.Workspace
push edx
lea eax, [esp + 0xd8]
push eax
call fcn.00411b30
push 1
push edi
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0044dad0
add esp, 0x24
test eax, eax
jne 0x464758
push edi
push ebx
push str.Count
push str.Workspace
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0044f590
mov eax, dword [esp + 0x40]
push edi
push eax
push 0x57c148
push str.Workspace
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0044f590
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call fcn.004510d0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
add esp, 0x3c
mov dword [esp + 0x5b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x590]
xor ecx, esp
call fcn.0053fa67
add esp, 0x5a0
ret 4