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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10344740
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [eax + 0x20]
mov ecx, dword [ecx]
xor edx, edx
mov dword [esp + 0x1c], eax
cmp ecx, edx
je 0x10046742
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x30]
mov ecx, dword [ecx]
mov esi, dword [esi]
add esi, ecx
cmp ecx, esi
jae 0x10046742
mov ecx, dword [eax + 0x30]
dec dword [ecx]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
movzx eax, byte [ecx]
jmp 0x1004693a
mov ecx, dword [eax + 0x4c]
cmp ecx, edx
je 0x10046937
cmp dword [eax + 0x3c], edx
jne 0x1004676c
push ecx
call fcn.1025db30
add esp, 4
cmp eax, 0xffffffff
je 0x10046937
movzx eax, al
jmp 0x1004693a
mov dword [esp + 0x60], edx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edx
mov byte [esp + 0x68], dl
push ecx
mov dword [esp + 0x94], edx
call fcn.1025db30
add esp, 4
cmp eax, 0xffffffff
je 0x10046923
lea esp, [esp]
push eax
push 1
lea ecx, [esp + 0x68]
call fcn.10005f00
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x64]
call fcn.10018920
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], 1
call fcn.10018920
mov edi, eax
mov ecx, esi
mov byte [esp + 0x90], 2
call fcn.100088b0
mov ebx, dword [esp + 0x78]
mov ecx, edi
mov esi, eax
call fcn.100088b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
lea edi, [esp + 0x20]
push edi
lea edi, [esp + 0x1c]
push edi
lea edi, [esp + 0x1f]
push edi
lea edi, [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x44]
push eax
mov eax, dword [edx + 0x10]
call eax
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x90], 1
call fcn.10001230
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0
call fcn.10001230
test esi, esi
jl 0x10046923
cmp esi, 1
jle 0x100468c0
cmp esi, 3
jne 0x10046923
cmp dword [esp + 0x78], 1
jb 0x1004690e
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x64]
call fcn.10018920
push 1
mov ecx, eax
mov byte [esp + 0x94], 5
call fcn.100088b0
push eax
lea ecx, [esp + 0x1f]
push 1
push ecx
call fcn.1025a460
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call fcn.10001230
movzx esi, byte [esp + 0x17]
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0xffffffff
call fcn.10003790
mov eax, esi
jmp 0x1004693a
lea ecx, [esp + 0x17]
cmp dword [esp + 0x20], ecx
lea ecx, [esp + 0x60]
jne 0x1004695b
lea edx, [esp + 0x54]
push edx
call fcn.10018920
mov ecx, eax
mov byte [esp + 0x90], 4
call fcn.100088b0
mov ecx, dword [esp + 0x18]
sub ecx, eax
push ecx
push 0
lea ecx, [esp + 0x68]
call fcn.100c8320
lea ecx, [esp + 0x54]
mov byte [esp + 0x90], 0
call fcn.10001230
mov edx, dword [edi + 0x4c]
push edx
call fcn.1025db30
add esp, 4
cmp eax, 0xffffffff
jne 0x100467a0
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0xffffffff
call fcn.10003790
or eax, 0xffffffff
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x48]
push edx
call fcn.10018920
mov ecx, eax
mov byte [esp + 0x90], 3
call fcn.100088b0
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x48]
add esi, eax
mov byte [esp + 0x90], 0
call fcn.10001230
test esi, esi
jle 0x100469ae
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x4c]
movsx edx, byte [esi + ecx - 1]
dec esi
push eax
push edx
call fcn.1025d380
add esp, 8
test esi, esi
jg 0x10046993
movzx esi, byte [esp + 0x17]
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0xffffffff
call fcn.10003790
mov eax, esi
jmp 0x1004693a