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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb9bc
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x48], edi
lea eax, [edi + 0x618]
cmp dword [eax + 0x14], 0x10
jb 0x461e77
mov eax, dword [eax]
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [edi + 0xa90]
call fcn.00451b02
and dword [esp + 0x98], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4622c0
inc eax
push eax
call fcn.004935bf
cmp dword [esp + 0x88], 0x10
mov ebx, eax
mov eax, dword [esp + 0x74]
pop ecx
mov dword [esp + 0x34], ebx
jae 0x461ec3
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.00494cb0
mov ecx, ebx
call fcn.004881f7
push ebx
call fcn.004914f0
add esp, 0xc
mov dword [esp + 0x20], eax
lea ebx, [edi + 0x744]
mov ecx, ebx
mov dword [esp + 0x54], ebx
push 0
push 0
push 0x85f
call fcn.004108a6
push 0
mov esi, eax
mov ecx, ebx
push 0
push 0x861
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call fcn.004108a6
push 0
sub eax, esi
mov byte [esp + 0x17], 1
push esi
mov dword [esp + 0x34], eax
mov ecx, ebx
mov eax, dword [esp + 0x28]
push 0x876
mov byte [esp + 0x1d], 0
mov dword [esp + 0x4c], eax
call fcn.004108a6
mov esi, eax
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x18], esi
push eax
push eax
push 0x84b
mov dword [esp + 0x44], eax
call fcn.004108a6
push 0
push 0
push 0x84d
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.004108a6
test eax, eax
je 0x461f95
push 0
push 0
push 0x849
mov ecx, ebx
call fcn.004108a6
test eax, eax
je 0x461f95
push 0
push 0
push 0x849
mov ecx, ebx
call fcn.004108a6
mov dword [esp + 0x30], eax
jmp 0x461f9d
mov dword [esp + 0x30], 1
xor eax, eax
mov byte [esp + 0x12], 1
push eax
push eax
push 0x7ee
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.004108a6
push 0
lea ecx, [edi + 0xa7c]
mov dword [esp + 0x48], eax
push str.indent.automatic
call fcn.00452214
test eax, eax
je 0x461fdc
push esi
mov ecx, edi
call fcn.00463f7b
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x20]
mov eax, ecx
test ecx, ecx
je 0x462006
mov ecx, dword [esp + 0x34]
dec eax
cmp byte [eax + ecx], 0x7c
jne 0x461ffc
test eax, eax
je 0x462002
cmp byte [eax + ecx - 1], 0x7c
jne 0x462002
test eax, eax
jne 0x461fea
jmp 0x462006
mov dword [esp + 0x40], eax
push 0
push 0
push 0x81e
mov ecx, ebx
call fcn.004108a6
xor esi, esi
mov dword [esp + 0x4c], esi
cmp dword [esp + 0x20], esi
jbe 0x46228e
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x58]
push 0x4d3406
mov al, byte [esi + eax]
mov byte [esp + 0x28], al
call fcn.004016ae
cmp byte [esp + 0x12], 0
mov al, byte [esp + 0x24]
mov byte [esp + 0x98], 1
je 0x4620a0
cmp al, 9
jne 0x4620a0
push 0
push str.indent.automatic
lea ecx, [edi + 0xa7c]
call fcn.00452214
test eax, eax
je 0x46225e
mov eax, dword [esp + 0x28]
mov ecx, edi
inc eax
mov dword [esp + 0x28], eax
imul eax, dword [esp + 0x3c]
add eax, dword [esp + 0x38]
push eax
push dword [esp + 0x1c]
call fcn.00463ede
mov eax, dword [esp + 0x3c]
cdq
idiv dword [esp + 0x30]
add dword [esp + 0x14], eax
jmp 0x46225e
cmp al, 0xa
je 0x46216d
cmp al, 0xd
je 0x4621a1
cmp al, 0x7c
je 0x4620bd
push dword [esp + 0x24]
jmp 0x462196
mov eax, dword [esp + 0x50]
dec eax
cmp esi, eax
jae 0x4620e4
mov eax, dword [esp + 0x34]
cmp byte [esi + eax + 1], 0x7c
jne 0x4620e4
push 0x7c
push 1
lea ecx, [esp + 0x60]
call fcn.00410214
inc esi
jmp 0x4621a1
cmp esi, dword [esp + 0x40]
je 0x4620f4
mov byte [esp + 0x11], 1
jmp 0x4621a1
mov eax, dword [esp + 0x14]
mov ecx, ebx
add eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
push 0
push eax
push 0x876
inc esi
call fcn.004108a6
mov dword [esp + 0x18], eax
cmp esi, eax
jg 0x46215a
mov edi, dword [esp + 0x28]
mov ecx, eax
imul edi, dword [esp + 0x3c]
sub ecx, esi
mov ebx, dword [esp + 0x48]
inc ecx
mov eax, edi
cdq
idiv dword [esp + 0x30]
imul ecx, eax
add dword [esp + 0x14], ecx
push esi
mov ecx, ebx
call fcn.00463f7b
add eax, edi
mov ecx, ebx
push eax
push esi
call fcn.00463ede
inc esi
cmp esi, dword [esp + 0x18]
jle 0x462138
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
mov esi, dword [esp + 0x4c]
mov byte [esp + 0x13], 0
jmp 0x4621a1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46217a
cmp eax, 1
jne 0x46218b
push 0xd
push 1
lea ecx, [esp + 0x60]
call fcn.00410214
mov eax, dword [esp + 0x44]
test eax, eax
je 0x462194
cmp eax, 2
jne 0x4621a1
push 0xa
push 1
lea ecx, [esp + 0x60]
call fcn.00410214
push 0
push 0
push 0x7d6
mov ecx, ebx
call fcn.004108a6
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4621cf
push 0
push 0
push 0x7d6
mov ecx, ebx
call fcn.004108a6
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4621de
lea eax, [esp + 0x58]
push eax
push ecx
push 0x7d3
mov ecx, ebx
call fcn.004108a6
cmp byte [esp + 0x11], 0
jne 0x462206
cmp byte [esp + 0x13], 0
je 0x462206
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x68]
cmp byte [esp + 0x24], 0xa
mov dword [esp + 0x14], eax
jne 0x462259
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x38]
and dword [esp + 0x2c], 0
inc eax
push eax
mov byte [esp + 0x1a], 1
mov dword [esp + 0x20], eax
call fcn.00463ede
mov eax, dword [esp + 0x38]
cdq
idiv dword [esp + 0x30]
add dword [esp + 0x14], eax
cmp byte [esp + 0x11], 0
jne 0x46225e
cmp byte [esp + 0x13], 0
je 0x46225e
add dword [esp + 0x1c], eax
jmp 0x46225e
mov byte [esp + 0x12], 0
push 0
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 0
call fcn.0040177c
inc esi
mov dword [esp + 0x4c], esi
cmp esi, dword [esp + 0x20]
jb 0x462026
cmp byte [esp + 0x11], 0
je 0x46228e
and dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add eax, ecx
push eax
push ecx
push 0x870
mov ecx, ebx
call fcn.004108a6
push 0
push 0
push 0x81f
mov ecx, ebx
call fcn.004108a6
push dword [esp + 0x34]
call fcn.00493792
pop ecx
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.0040177c
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret