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

Disassembly:
push 0xffffffffffffffff
push 0x48be49
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4ae6e0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [esp + 0x18], esi
mov byte [esi], 0
mov edx, dword [edi + 0x41c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], 1
cmp edx, 3
ja case.default.0x46d48e
jmp dword [edx*4 + 0x46d6ac]
push ecx
push eax
mov ecx, esi
call fcn.004621b0
xor ecx, ecx
cmp dword [esi + 0x10], ecx
jbe 0x46d4d2
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x46d4b1
mov eax, dword [esi]
jmp 0x46d4b3
mov eax, esi
movzx eax, byte [eax + ecx]
mov bl, byte [eax + edi + 0x104]
cmp edx, 0x10
jb 0x46d4c7
mov eax, dword [esi]
jmp 0x46d4c9
mov eax, esi
mov byte [eax + ecx], bl
inc ecx
cmp ecx, dword [esi + 0x10]
jb 0x46d4a5
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x46d4de
mov edx, dword [esi]
jmp 0x46d4e0
mov edx, esi
mov ebx, dword [esi + 0x10]
cmp eax, 0x10
jb 0x46d4ec
mov ecx, dword [esi]
jmp 0x46d4ee
mov ecx, esi
lea eax, [edx + ebx]
push eax
push ecx
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.0046d3b0
mov edi, eax
cmp esi, edi
je 0x46d52e
cmp dword [esi + 0x14], 0x10
jb 0x46d515
push dword [esi]
call fcn.004251ac
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00402b20
cmp dword [esp + 0x60], 0x10
jb case.default.0x46d48e
push dword [esp + 0x4c]
call fcn.004251ac
add esp, 4
jmp case.default.0x46d48e
push ecx
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0046d3b0
push eax
mov ecx, esi
call fcn.004230a0
cmp dword [esp + 0x30], 0x10
jb 0x46d573
push dword [esp + 0x1c]
call fcn.004251ac
add esp, 4
movsx eax, byte [edi + 0x420]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00402f90
jmp case.default.0x46d48e
push ecx
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.0046d3b0
push eax
mov ecx, esi
call fcn.004230a0
cmp dword [esp + 0x48], 0x10
jb 0x46d5c5
push dword [esp + 0x34]
call fcn.004251ac
add esp, 4
mov edx, dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
test edx, edx
je 0x46d604
mov ebx, dword [esi + 0x14]
cmp ebx, 0x10
jb 0x46d5ef
mov ecx, dword [esi]
jmp 0x46d5f1
mov ecx, esi
mov dl, byte [edi + 0x420]
cmp byte [ecx + eax], dl
mov edx, dword [esi + 0x10]
je 0x46d604
inc eax
cmp eax, edx
jb 0x46d5e6
cmp edx, eax
jae 0x46d612
push str.invalid_string_position
call fcn.00458fb5
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x46d61f
mov ecx, dword [esi]
jmp 0x46d621
mov ecx, esi
mov byte [ecx + eax], 0
cmp dword [esi + 0x10], 0
jne 0x46d68a
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov word [esp + 0x1c], 0
mov dword [esp + 0x2c], 1
cmp esi, eax
je 0x46d68a
cmp dword [esi + 0x14], 0x10
jb 0x46d65a
push dword [esi]
call fcn.004251ac
add esp, 4
lea eax, [esp + 0x1c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00402b20
cmp dword [esp + 0x30], 0x10
jb 0x46d68a
push dword [esp + 0x1c]
call fcn.004251ac
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0043c12e
add esp, 0x64
ret 0xc