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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668904
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x154]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jge 0x46ef6c
jmp 0x46f35a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404859
mov esi, esp
push 0x2e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, esp
call fcn.005e0cbc
mov edx, dword [ebp - 0x24]
add edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x84], 3
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0x3f
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004042dc
test eax, eax
jne 0x46efd0
jmp 0x46f35a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00626372
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x46eff0
jmp 0x46f35a
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x88]
call dword [eax + 0x1c]
cmp esi, esp
call fcn.005e0cbc
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x9c]
call fcn.00406014
lea ecx, [ebp - 0x9c]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00402329
mov dword [ebp - 0xa0], 0
jmp 0x46f04a
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00403be8
cmp dword [ebp - 0xa0], eax
jge 0x46f0a0
lea ecx, [ebp - 0xb0]
call fcn.00406014
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00401de8
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0xb0]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00626ada
jmp 0x46f03b
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
je 0x46f0c9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00402423
jmp 0x46f0e5
push 0xcccccc
lea ecx, [ebp - 0x9c]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00638f9c
lea ecx, [ebp - 0xb8]
call fcn.00401b68
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00401e38
push eax
lea ecx, [ebp - 0xb8]
call fcn.004073a6
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.00626a58
push 1
mov ecx, dword [ebp - 0x88]
call fcn.006266bb
push 0xe7e7e7
lea ecx, [ebp - 0x28]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00638f9c
mov ecx, dword [ebp - 0x10]
call fcn.004019c4
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 8]
jne 0x46f171
push 0xe7e7e7
lea ecx, [ebp - 0x28]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00638f9c
jmp 0x46f18a
push 0xcccccc
lea ecx, [ebp - 0x28]
call fcn.00401e38
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00638f9c
mov ecx, dword [ebp - 0x10]
call fcn.0040356c
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x46f2c1
cmp dword [ebp - 0x70], 0
jl 0x46f2c1
push 0x688418
lea ecx, [ebp - 0xf8]
call fcn.006198df
mov byte [ebp - 4], 1
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.0040286a
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.00619871
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x64], 0
je 0x46f20f
mov dword [ebp - 0xc0], 1
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xbc]
call fcn.00403d00
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404859
lea ecx, [ebp - 0x28]
call fcn.00402f36
mov esi, eax
lea ecx, [ebp - 0xf0]
call fcn.00402f36
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xf4], eax
push 1
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x110]
call fcn.00403fcb
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.00404c8c
lea ecx, [ebp - 0xf0]
call fcn.004050d8
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x78
mov esi, esp
push edx
mov eax, dword [ebp - 0x88]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x88]
call dword [edx + 0x28]
cmp esi, esp
call fcn.005e0cbc
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x114]
call fcn.006198df
mov byte [ebp - 4], 2
push 0x25
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.00404e44
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.00619871
mov esi, esp
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x88]
call dword [edx + 0x20]
cmp esi, esp
call fcn.005e0cbc
mov ecx, dword [ebp - 0x10]
call fcn.0040259f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00405a83
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.005e0cbc
mov esp, ebp
pop ebp
ret 4