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

Disassembly:
push 0xffffffffffffffff
push 0x4eae4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
xor edx, edx
push ebp
mov dword [esp + 0x74], edx
xor eax, eax
push esi
mov dword [esp + 0x7c], edx
push edi
mov dword [esp + 0x1c], ecx
mov ecx, 1
mov dword [esp + 0x84], edx
or edi, 0xffffffff
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x44], ecx
call fcn.00443850
mov esi, dword [eax]
mov dword [esp + 0x14], esi
mov ax, word [esi]
add esp, 4
cmp ax, 0x2d
mov cl, 0x2a
jne 0x46ecf0
mov cl, al
movsx ecx, cl
movzx edx, ax
cmp ecx, edx
mov dword [esp + 0x6c], ecx
jne 0x46eef6
add esi, 2
mov dword [esp + 0x10], esi
mov eax, esi
mov ecx, 0x4fa334
mov edx, 1
movzx ebx, word [eax]
movsx ebp, byte [ecx]
or ebx, 0x20
or ebp, 0x20
add eax, 2
inc ecx
cmp ebp, ebx
jne 0x46ed78
dec edx
jns 0x46ed15
mov ax, word [eax]
cmp ax, 9
jb 0x46ed3b
cmp ax, 0xd
jbe 0x46ed46
cmp ax, 0x20
je 0x46ed46
test ax, ax
jne 0x46ed78
add esi, 4
mov dword [esp + 0x10], esi
je 0x46ed6e
nop
mov ax, word [esi]
cmp ax, 9
jb 0x46ed5f
cmp ax, 0xd
jbe 0x46ed65
cmp ax, 0x20
jne 0x46ed6e
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x46ed50
and dword [esp + 0x40], 0xfffffffe
jmp 0x46eee5
push 2
push esi
push 0x4fa330
call fcn.00444970
add esp, 0xc
test al, al
je 0x46edbd
add esi, 4
mov dword [esp + 0x10], esi
je 0x46edb3
mov ax, word [esi]
cmp ax, 9
jb 0x46eda4
cmp ax, 0xd
jbe 0x46edaa
cmp ax, 0x20
jne 0x46edb3
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x46ed95
or dword [esp + 0x48], 2
jmp 0x46eee5
push 1
push esi
push 0x4fa32c
call fcn.00444970
add esp, 0xc
test al, al
je 0x46edf2
lea eax, [esp + 0x10]
add esi, 2
push eax
mov dword [esp + 0x14], esi
call fcn.00443850
add esp, 4
mov dword [esp + 0x7c], 0x74
jmp 0x46eee1
push 2
push esi
push 0x4fa328
call fcn.00444970
add esp, 0xc
test al, al
je 0x46ee27
lea ecx, [esp + 0x10]
add esi, 4
push ecx
mov dword [esp + 0x14], esi
call fcn.00443850
add esp, 4
mov dword [esp + 0x7c], 0x73
jmp 0x46eee1
push 1
push esi
push 0x4f8224
call fcn.004449d0
add esp, 0xc
test al, al
je 0x46eec3
lea edx, [esp + 0x10]
add esi, 2
push edx
mov dword [esp + 0x14], esi
call fcn.00417de5
lea eax, [esp + 0x14]
push eax
call fcn.00443850
mov ecx, dword [esp + 0x18]
add esp, 8
push 1
push 0
lea edx, [esp + 0x1c]
push edx
mov word [ecx - 2], 0
mov ecx, dword [esp + 0x28]
push esi
call fcn.00452ca0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], eax
call fcn.0043e210
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0043e210
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x50], esi
call fcn.0044ce90
mov edi, dword [esp + 0x68]
sub edi, esi
add esp, 0x18
inc edi
jmp 0x46eee1
lea ecx, [esp + 0x10]
sub esi, 2
push ecx
mov dword [esp + 0x14], esi
call fcn.00417de5
lea edx, [esp + 0x14]
push edx
call fcn.00443850
add esp, 8
mov esi, dword [esp + 0x10]
movzx eax, word [esi]
cmp dword [esp + 0x6c], eax
je 0x46ed02
mov dword [esp + 0x2c], edi
push 0x3d
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0044c770
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x46ef36
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46ef2c
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x80070057
jmp 0x46f70f
mov ecx, dword [esp + 0x10]
add ecx, 2
test edi, edi
mov dword [esp + 0x10], ecx
jle 0x46ef89
mov esi, dword [esp + 0x14]
mov dword [esp + 0x70], esi
mov dword [esp + 0x14], 0
push 1
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push esi
mov byte [esp + 0xa4], 1
call fcn.00452ca0
test esi, esi
je 0x46ef99
mov edx, dword [0x51d3c8]
add esi, 0xfffffff8
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46ef99
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x18]
push eax
call fcn.004166b6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x8c], edx
call fcn.00443850
mov eax, dword [eax]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
mov esi, eax
mov ebp, eax
je 0x46efe4
movzx eax, word [eax]
test ax, ax
je 0x46efe4
cmp ax, 0x2c
je 0x46efe4
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x46efd2
cmp word [ebp], 0
je 0x46eff4
mov word [ebp], 0
add ebp, 2
test ebp, ebp
mov ebx, ebp
mov dword [esp + 0x20], ebx
je 0x46f026
xor eax, eax
mov ax, word [ebp]
test ax, ax
je 0x46f026
lea esp, [esp]
cmp ax, 0x2c
je 0x46f022
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x46f010
mov dword [esp + 0x20], ebx
cmp word [ebx], 0
je 0x46f038
mov word [ebx], 0
add ebx, 2
mov dword [esp + 0x20], ebx
test ebx, ebx
mov ecx, ebx
mov dword [esp + 0x18], ecx
je 0x46f066
xor eax, eax
mov ax, word [ebx]
test ax, ax
je 0x46f066
lea esp, [esp]
cmp ax, 0x2c
je 0x46f062
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x46f050
mov dword [esp + 0x18], ecx
cmp word [ecx], 0
je 0x46f078
mov word [ecx], 0
add ecx, 2
mov dword [esp + 0x18], ecx
push 2
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x44], eax
je 0x46f08f
mov word [eax], 0
push 2
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x50], eax
je 0x46f0a6
mov word [eax], 0
push 2
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x4c], eax
je 0x46f0bd
mov word [eax], 0
push 2
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
je 0x46f0d4
mov word [eax], 0
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x8e]
test al, al
mov byte [esp + 0x94], 5
jne 0x46f101
test byte [ecx + 0xb], 0xf
jne 0x46f101
push 1
push 0
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.004541d0
jmp 0x46f110
push 1
push 0
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00452ca0
mov eax, dword [esp + 0x44]
cmp word [eax], 0x3f
mov dword [esp + 0x24], eax
jne 0x46f12d
add eax, 2
mov dword [esp + 0x7c], 0x3f
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x74], ecx
call fcn.0044ce90
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp word [ecx], 0x3a
jne 0x46f15a
mov eax, ecx
add eax, 2
mov dword [esp + 0x24], eax
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044ce90
mov eax, dword [esp + 0x2c]
add esp, 8
xor edx, edx
xor esi, esi
xor edi, edi
cmp word [eax], 0x3a
jne 0x46f17f
add eax, 2
mov cx, word [eax]
test cx, cx
je 0x46f1c3
add eax, 2
cmp cx, 0x2a
jne 0x46f195
mov edx, 1
mov cx, word [eax]
test cx, cx
je 0x46f1be
add eax, 2
cmp cx, 0x2a
jne 0x46f1ab
mov esi, 2
mov ax, word [eax]
test ax, ax
je 0x46f1be
cmp ax, 0x2a
jne 0x46f1be
mov edi, 4
test dx, dx
jne 0x46f1da
push 1
push 0
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x28]
push ebp
call fcn.00452ca0
mov ebp, dword [esp + 0x50]
test si, si
jne 0x46f1fa
mov ecx, dword [esp + 0x1c]
push 1
push 0
lea edx, [esp + 0x54]
push edx
push ebx
call fcn.00452ca0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
test di, di
jne 0x46f21e
mov edx, dword [esp + 0x18]
push 1
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.00452ca0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
test eax, eax
mov esi, 0x4f24cc
jne 0x46f230
mov esi, 0x4efd50
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x28], 0
je 0x46f26b
push esi
call ebx
lea edi, [eax + eax + 2]
lea ecx, [edi + 2]
push ecx
call fcn.00449130
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x28], eax
push ebp
call ebx
mov esi, eax
inc esi
lea ecx, [esi + 0x10]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x40], eax
jl 0x46f298
lea eax, [ecx + ecx + 2]
push eax
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x40], eax
je 0x46f298
mov word [eax], 0
lea edx, [esi + esi]
mov ecx, edx
mov esi, ebp
mov ebp, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add edx, eax
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
push edi
mov dword [edx + 0x1c], ecx
mov dword [esp + 0x58], eax
call ebx
mov esi, eax
inc esi
lea ecx, [esi + 0x10]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jl 0x46f2ff
lea eax, [ecx + ecx + 2]
push eax
call fcn.00449130
add esp, 4
test eax, eax
mov dword [esp + 0x3c], eax
je 0x46f2ff
mov word [eax], 0
lea edx, [esi + esi]
mov ecx, edx
mov ebx, ecx
shr ecx, 2
mov esi, edi
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add edx, eax
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
cmp dword [esp + 0x7c], 0x73
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
je 0x46f3f0
cmp word [eax], 0
je 0x46f3f0
mov edx, 2
mov esi, 4
jmp 0x46f360
mov ecx, dword [esp + 0x10]
mov cx, word [ecx]
cmp cx, 0x5c
jne 0x46f3c8
mov ecx, dword [esp + 0x10]
mov cx, word [ecx + 2]
cmp cx, 0x72
jne 0x46f38a
mov word [eax], 0xd
mov ecx, dword [esp + 0x10]
add eax, edx
add ecx, esi
jmp 0x46f3d3
cmp cx, 0x6e
jne 0x46f39f
mov word [eax], 0xa
mov ecx, dword [esp + 0x10]
add eax, edx
add ecx, esi
jmp 0x46f3d3
cmp cx, 0x74
jne 0x46f3b4
mov word [eax], 9
mov ecx, dword [esp + 0x10]
add eax, edx
add ecx, esi
jmp 0x46f3d3
mov word [eax], 0x5c
mov ecx, dword [esp + 0x10]
add eax, edx
add ecx, edx
mov dword [esp + 0x10], ecx
mov cx, word [ecx]
mov word [eax], cx
mov ecx, dword [esp + 0x10]
add eax, edx
add ecx, edx
mov dword [esp + 0x10], ecx
cmp word [ecx], 0
jne 0x46f360
cmp eax, ecx
jae 0x46f3f0
mov word [eax], 0
mov ecx, dword [esp + 0x10]
add eax, edx
cmp eax, ecx
jb 0x46f3e1
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x2c]
xor ebx, ebx
cmp eax, edi
mov byte [esp + 0x94], 9
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x24], edi
jle 0x46f4f3
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
inc esi
push eax
mov dword [esp + 0x58], esi
call edi
mov ecx, dword [esp + 0x40]
mov ebp, eax
inc ebp
push ecx
mov dword [esp + 0x6c], ebp
call edi
mov edx, dword [esp + 0x3c]
mov ebx, eax
push edx
inc ebx
call edi
inc eax
lea esi, [esi + ebp*2 + 0xc8]
add esi, eax
mov dword [esp + 0x24], eax
add esi, ebx
lea eax, [esi + esi + 2]
push 0
call fcn.00449190
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x70], ebp
je 0x46f48c
mov word [ebp + esi*2], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
add eax, ebx
lea edi, [ebp + eax*2]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x64], edx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x6c], edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx]
add edx, ebx
lea edx, [ebp + edx*2]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x54]
add eax, edx
add eax, ecx
add eax, ebx
lea eax, [ebp + eax*2 + 0x50]
mov dword [esp + 0x68], eax
jmp 0x46f599
cmp dword [esp + 0x48], edi
mov esi, dword [esp + 0x18]
je 0x46f54f
cmp word [esi], di
je 0x46f54f
mov dword [esp + 0x18], edi
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push esi
mov byte [esp + 0xa0], 0xa
call fcn.00453530
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x34]
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x94], 9
je 0x46f555
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call edi
jmp 0x46f555
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x28]
push eax
push esi
push ecx
push edx
lea eax, [esp + 0x84]
push eax
call fcn.0043c8b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xb8]
add esp, 0x14
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov esi, eax
call fcn.00448be0
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x46f634
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov word [eax], 0
dec esi
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x58]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
add ecx, ecx
lea edi, [eax + ebp]
mov eax, ecx
shr ecx, 2
mov dword [esp + 0x20], edi
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x30]
push eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x68]
push edx
push ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0xb4], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push esi
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004468e0
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
inc ecx
inc esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
xor edi, edi
jmp 0x46f4f3
xor edx, edx
test esi, esi
sete dl
test ebp, ebp
mov esi, edx
je 0x46f64f
mov eax, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push eax
call edi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46f666
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call edi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46f67d
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call edi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46f693
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call edi
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], 0
je 0x46f6b2
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call edi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x46f6c9
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call edi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46f6df
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46f6f6
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46f70d
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0xc