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

Disassembly:
push 0xffffffffffffffff
push 0x4c0c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0xffffffffffffffff
mov dword [esp + 0x24], ebp
push ebp
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
call fcn.004065c0
push 1
push ebp
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x1c], 0x25
call fcn.00440290
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x46c53d
jmp 0x46c306
mov ebx, dword [esp + 0x14]
push 1
lea esi, [ebx + 1]
push esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0x25
call fcn.00440290
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x46c53d
sub eax, ebx
dec eax
push eax
push esi
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x30]
call fcn.00440550
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
mov esi, dword [esp + 0x90]
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
mov byte [esp + 0x84], 2
call fcn.00445c00
mov ebp, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x46c3df
mov ecx, dword [eax + 0x24]
mov ebx, dword [eax + 0x20]
mov esi, 0x10
cmp ecx, esi
jb 0x46c38c
mov eax, dword [eax + 0x10]
jmp 0x46c38f
add eax, 0x10
mov edx, dword [esp + 0x70]
test edx, edx
je 0x46c3c2
cmp edx, ebx
mov ecx, edx
jb 0x46c39f
mov ecx, ebx
cmp dword [esp + 0x74], esi
mov esi, dword [esp + 0x60]
jae 0x46c3ad
lea esi, [esp + 0x60]
mov edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x46c3ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov edi, dword [esp + 0x18]
jne 0x46c3cf
cmp edx, ebx
jb 0x46c3db
xor eax, eax
cmp edx, ebx
setne al
test eax, eax
jl 0x46c3db
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
jmp 0x46c3e7
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x20]
mov eax, dword [eax]
cmp eax, ebp
je 0x46c400
push 0xffffffffffffffff
add eax, 0x28
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.004065c0
jmp 0x46c420
mov eax, 0x4c4537
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46c408
sub eax, edx
push eax
push 0x4c4537
lea ecx, [esp + 0x48]
call fcn.00406680
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
mov esi, dword [esp + 0x28]
mov ecx, esi
jae 0x46c433
lea ecx, [esp + 0x28]
lea ecx, [ecx + edi + 1]
mov edi, 0x10
cmp eax, edi
mov edx, esi
jae 0x46c446
lea edx, [esp + 0x28]
add edx, ebx
cmp eax, edi
jae 0x46c450
lea esi, [esp + 0x28]
xor ebp, ebp
cmp edx, ebp
jne 0x46c45a
xor eax, eax
jmp 0x46c45e
mov eax, edx
sub eax, esi
cmp ecx, ebp
jne 0x46c466
xor ecx, ecx
jmp 0x46c468
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004064e0
mov eax, dword [esp + 0x58]
cmp eax, edi
mov esi, dword [esp + 0x44]
mov ecx, esi
jae 0x46c485
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0x54]
add edx, ecx
cmp eax, edi
jae 0x46c493
lea esi, [esp + 0x44]
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x28]
jae 0x46c4a1
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x88]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
push ecx
mov ecx, esp
mov dword [ecx], esi
push ecx
mov ecx, esp
add eax, ebx
mov dword [ecx], eax
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.0046b3d0
cmp dword [esp + 0x58], edi
jb 0x46c4db
mov edx, dword [esp + 0x44]
push edx
call fcn.0049f22c
add esp, 4
cmp dword [esp + 0x74], edi
mov esi, 0xf
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
mov byte [esp + 0x80], 0
jb 0x46c508
mov eax, dword [esp + 0x60]
push eax
call fcn.0049f22c
add esp, 4
push 1
push ebp
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x6c], 0
mov byte [esp + 0x1c], 0x25
call fcn.00440290
xor ebp, ebp
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x46c302
mov esi, dword [esp + 0x88]
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x2c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebp
push edx
mov ecx, esi
mov byte [esi + 4], 0
call fcn.004065c0
cmp dword [esp + 0x3c], 0x10
jb 0x46c575
mov eax, dword [esp + 0x28]
push eax
call fcn.0049f22c
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret