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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x616144
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6b9a04]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
add esi, 0x1f8
mov edi, edx
xor ebx, ebx
push 0x641040
mov ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], esi
call fcn.004050b9
push ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x80], 0xf
call fcn.004055a6
mov dword [esp + 0x90], ebx
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [edi]
cmp dword [esp + 0x2c], ebx
je 0x46d8e8
cmp dword [esp + 0x2c], eax
je 0x46d8ed
call fcn.005c4332
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x30], eax
je 0x46da9c
lea esi, [esp + 0x2c]
call fcn.005469a8
push dword [eax]
call fcn.004010df
mov ebx, eax
call fcn.004e3287
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x46da82
cmp dword [esp + 0x18], ebx
jne 0x46d962
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov eax, esi
call fcn.00416f8e
mov byte [esp + 0x94], 1
call fcn.00416ef8
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.0040f37a
cmp eax, 0x3e8
je 0x46d962
mov dword [esp + 0x18], 1
jmp 0x46da7c
cmp dword [esp + 0x20], ebx
jne 0x46da76
cmp dword [esp + 0x78], ebx
jne 0x46d9e9
lea eax, [esp + 0x3c]
push eax
mov eax, esi
call fcn.00416f8e
sub esp, 0x1c
mov byte [esp + 0xac], 2
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0040518c
mov byte [esp + 0xac], 3
call fcn.00416ef8
lea edi, [esp + 0x64]
mov ecx, eax
mov byte [esp + 0xac], 2
call fcn.0040f471
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 4
call fcn.0040529a
push ebx
push 1
mov ecx, edi
call fcn.004055c2
mov byte [esp + 0x90], bl
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.00405172
lea eax, [esp + 0x28]
push eax
mov eax, esi
call fcn.00416f8e
sub esp, 0x1c
mov byte [esp + 0xac], 5
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0040518c
mov byte [esp + 0xac], 6
call fcn.00416ef8
lea edi, [esp + 0x64]
mov ecx, eax
mov byte [esp + 0xac], 5
call fcn.0040f471
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
mov byte [esp + 0x94], 7
call fcn.00404b75
test eax, eax
setne byte [esp + 0x13]
xor esi, esi
push ebx
inc esi
push esi
mov ecx, edi
call fcn.004055c2
mov byte [esp + 0x90], bl
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00405172
mov edi, dword [esp + 0x34]
cmp byte [esp + 0x13], bl
je 0x46da76
mov dword [esp + 0x20], esi
cmp dword [esp + 0x18], ebx
je 0x46da82
cmp dword [esp + 0x20], ebx
jne 0x46da96
lea esi, [esp + 0x2c]
call fcn.0041be35
mov esi, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x46d8d3
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xa4]
cmp eax, ebx
je 0x46db7a
cmp dword [esp + 0x78], ebx
je 0x46db09
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
call fcn.0046c61e
mov byte [esp + 0xac], 8
call fcn.00416ef8
lea edi, [esp + 0x64]
mov ecx, eax
mov byte [esp + 0xac], bl
call fcn.0040f471
mov byte [esp + 0x90], 9
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], 1
call fcn.00404b75
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
test eax, eax
jne 0x46db0d
mov byte [esp + 0x13], bl
mov dword [esp + 0x90], ebx
test byte [esp + 0x38], 1
je 0x46db27
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004055c2
cmp byte [esp + 0x13], bl
je 0x46db7a
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x46db40
push 0x641dc0
mov ecx, esi
call fcn.0040bdd3
push ebx
push ebx
lea eax, [esp + 0x1c]
push 0x283b
push eax
call fcn.00401181
push eax
call fcn.0052bb08
push eax
mov ecx, esi
mov byte [esp + 0x94], 0xa
call fcn.00428d94
mov byte [esp + 0x90], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [esp + 0x20], ebx
je 0x46dbcd
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x46db93
push 0x641dc0
mov ecx, esi
call fcn.0040bdd3
push ebx
push ebx
lea eax, [esp + 0x1c]
push 0x27f7
push eax
call fcn.00401181
push eax
call fcn.0052bb08
push eax
mov ecx, esi
mov byte [esp + 0x94], 0xb
call fcn.00428d94
mov byte [esp + 0x90], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [esp + 0x18], ebx
je 0x46dc19
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x46dbe6
push 0x641dc0
mov ecx, esi
call fcn.0040bdd3
push ebx
push ebx
lea eax, [esp + 0x30]
push 0x27f8
push eax
call fcn.00401181
push eax
call fcn.0052bb08
push eax
mov ecx, esi
mov byte [esp + 0x94], 0xc
call fcn.00428d94
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00405172
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.004055c2
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.005c30b2
mov esp, ebp
pop ebp
ret