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

Disassembly:
push 0xffffffffffffffff
push 0x4cded7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e0
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], al
call fcn.00406ae1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov dword [esp + 0x4f8], ebx
call fcn.00406ae1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f8], 1
mov byte [esp + 0x30], dl
call fcn.00406ae1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x4f4], 2
call fcn.0046bef0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4f4], 3
call fcn.0046bef0
mov ecx, 0x502078
mov byte [esp + 0x4f4], 4
call fcn.0042d340
test eax, eax
jne 0x461acc
mov ecx, 0x502078
call fcn.0042c660
test eax, eax
je 0x461c25
push ebx
push 0x1c83
push 0x80000002
lea ecx, [esp + 0x6c]
call fcn.0046c420
mov edi, dword [0x4d52e8]
test eax, eax
jne 0x461b0b
push 0x4f4ae8
push 0x18c8
push 0x4f51e0
lea eax, [esp + 0xe8]
push 0x4ee5ec
push eax
call edi
add esp, 0x14
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x64]
call fcn.0046dd00
test eax, eax
je 0x461c25
lea edx, [esp + 0x44]
push ebx
push edx
lea ecx, [esp + 0x68]
call fcn.004a7bd0
push eax
lea ecx, [esp + 0x98]
call fcn.0046c0b0
test eax, eax
jne 0x461b62
push 0x4f4ae8
push 0x18ce
push str.xiie_.wlm
lea eax, [esp + 0xe8]
push 0x4ee5ec
push eax
call edi
add esp, 0x14
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x501a04
call fcn.00405d32
lea ecx, [esp + 0x30]
push ecx
push 0x1c84
lea ecx, [esp + 0xb0]
call fcn.0046d000
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x461b99
mov eax, 0x4d58e0
push 0x4f4728
push eax
call fcn.004bfc65
add esp, 8
test eax, eax
jne 0x461c0f
lea edx, [esp + 0x10]
lea eax, [esp + 0xb8]
push edx
push eax
push 0x1c85
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], 0x24
call fcn.0046d1f0
mov eax, dword [esp + 0xbc]
xor edx, edx
lea ecx, [eax + eax*2]
inc word [esi + ecx*8 + 0x74]
mov dx, word [esi + 0x2c]
inc word [esi + 0x2a]
lea eax, [esi + ecx*8 + 0x74]
mov eax, dword [esp + 0xbc]
cmp edx, eax
jae 0x461bfd
mov word [esi + 0x2c], ax
push 0x4f517c
push 0x501fc0
call fcn.00422030
add esp, 8
lea eax, [esp + 0x44]
lea ecx, [esp + 0x60]
push eax
call fcn.0046dd00
test eax, eax
jne 0x461b21
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4f4], 3
call fcn.0046bf70
lea ecx, [esp + 0x60]
mov byte [esp + 0x4f4], 2
call fcn.0046bf70
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x461c5f
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x461c83
mov al, byte [ecx - 1]
cmp al, bl
je 0x461c79
cmp al, 0xff
je 0x461c79
dec al
mov byte [ecx - 1], al
jmp 0x461c83
dec ecx
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x461ca4
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x461cc8
mov al, byte [ecx - 1]
cmp al, bl
je 0x461cbe
cmp al, 0xff
je 0x461cbe
dec al
mov byte [ecx - 1], al
jmp 0x461cc8
dec ecx
push ecx
call fcn.004bcb64
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x461ce9
push eax
call fcn.004bcb64
add esp, 4
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x461d0d
mov al, byte [ecx - 1]
cmp al, bl
je 0x461d03
cmp al, 0xff
je 0x461d03
dec al
mov byte [ecx - 1], al
jmp 0x461d0d
dec ecx
push ecx
call fcn.004bcb64
add esp, 4
mov ecx, dword [esp + 0x4ec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x4ec
ret