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

Disassembly:
push 0xffffffffffffffff
push 0x4db380
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
xor edi, edi
mov ebp, 0xf
mov esi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
mov dword [esp + 0x88], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
mov eax, dword [esi + 0x234]
mov ecx, dword [esi + 0x238]
mov ebx, dword [esi + 0x1e0]
push edi
push edi
push eax
push ecx
lea ecx, [esi + 0x530]
push ecx
mov byte [esp + 0x9c], 1
mov dword [esp + 0x40], ebx
call dword [sym.imp.user32.dll_SetRect]
cmp ebx, edi
je 0x46e9b9
mov edx, dword [esi + 0x238]
mov eax, dword [esi + 0x234]
mov dword [esi + 0x1c4], edx
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1c0], edi
cmp ebx, edi
mov dword [esi + 0x52c], 1
jle 0x46ef44
lea ebx, [esi + 0x1cc]
mov byte [esp + 0x16], 0
cmp edi, dword [ebx + 0x14]
jbe 0x46e9e0
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46e9eb
mov eax, dword [ebx + 4]
jmp 0x46e9ee
lea eax, [ebx + 4]
mov cl, byte [eax + edi]
lea ebp, [edi + 2]
mov byte [esp + 0x14], cl
cmp ebp, dword [ebx + 0x14]
jbe 0x46ea02
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46ea0d
mov eax, dword [ebx + 4]
jmp 0x46ea10
lea eax, [ebx + 4]
mov dl, byte [eax + ebp]
push 0
push 0x4dd6d7
lea ecx, [esp + 0x68]
mov byte [esp + 0x1d], dl
call fcn.004018a0
push 0
push 0x4dd6d7
lea ecx, [esp + 0x4c]
call fcn.004018a0
cmp byte [esp + 0x14], 0xff
jne 0x46ed9a
cmp byte [esp + 0x15], 0xff
jne 0x46ed9a
add edi, 3
cmp edi, dword [ebx + 0x14]
jbe 0x46ea5a
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46ea65
mov eax, dword [ebx + 4]
jmp 0x46ea68
lea eax, [ebx + 4]
movsx eax, byte [eax + edi]
inc edi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x46eaeb
lea ebp, [edi + 2]
mov dword [esp + 0x18], eax
lea esp, [esp]
cmp edi, dword [ebx + 0x14]
jbe 0x46ea8a
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46ea95
mov eax, dword [ebx + 4]
jmp 0x46ea98
lea eax, [ebx + 4]
mov al, byte [eax + edi]
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x38]
push ecx
push 1
lea ecx, [esp + 0x68]
call fcn.00401710
cmp ebp, dword [ebx + 0x14]
jbe 0x46eab9
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46eac4
mov eax, dword [ebx + 4]
jmp 0x46eac7
lea eax, [ebx + 4]
mov dl, byte [eax + ebp]
mov byte [esp + 0x34], dl
mov eax, dword [esp + 0x34]
push eax
push 1
lea ecx, [esp + 0x68]
call fcn.00401710
add edi, 3
add ebp, 3
sub dword [esp + 0x18], 1
jne 0x46ea80
cmp edi, dword [ebx + 0x14]
jbe 0x46eaf5
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46eb00
mov eax, dword [ebx + 4]
jmp 0x46eb03
lea eax, [ebx + 4]
movsx eax, byte [eax + edi]
inc edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
test eax, eax
jle 0x46eb8f
mov ecx, eax
lea ebp, [edi + 2]
mov dword [esp + 0x18], ecx
lea ecx, [ecx]
cmp edi, dword [ebx + 0x14]
jbe 0x46eb2a
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46eb35
mov eax, dword [ebx + 4]
jmp 0x46eb38
lea eax, [ebx + 4]
mov dl, byte [eax + edi]
mov byte [esp + 0x3c], dl
mov eax, dword [esp + 0x3c]
push eax
push 1
lea ecx, [esp + 0x4c]
call fcn.00401710
cmp ebp, dword [ebx + 0x14]
jbe 0x46eb59
call fcn.004a067d
cmp dword [ebx + 0x18], 0x10
jb 0x46eb64
mov eax, dword [ebx + 4]
jmp 0x46eb67
lea eax, [ebx + 4]
mov cl, byte [eax + ebp]
mov byte [esp + 0x40], cl
mov edx, dword [esp + 0x40]
push edx
push 1
lea ecx, [esp + 0x4c]
call fcn.00401710
add edi, 3
add ebp, 3
sub dword [esp + 0x18], 1
jne 0x46eb20
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x48c]
mov eax, dword [esi + 0xc8]
mov ebp, dword [esp + 0x1c]
add eax, ecx
imul eax, ebp
cdq
idiv dword [esp + 0x20]
lea edx, [ebp + 1]
imul edx, ecx
add edx, dword [esi + 0x1c4]
add edx, dword [esp + 0x28]
cmp edx, dword [esi + 0x23c]
mov edi, eax
mov eax, dword [esi + 0x528]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x528], 1
jl 0x46ecaa
mov eax, dword [esi + 0x1bc]
cmp eax, dword [esi + 0xb4]
mov ecx, esi
jge 0x46ec5d
call fcn.00468960
mov ecx, dword [esi + 0x1b8]
add ecx, 3
cmp dword [esp + 0x2c], ecx
jg 0x46ecaa
mov eax, dword [esi + 0x490]
mov ecx, dword [esi + 0x48c]
push eax
push ecx
mov ecx, esi
call fcn.00468820
xor edi, edi
mov dword [esi + 0x1b8], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46ec38
mov edx, dword [esp + 0x48]
push edx
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46ef82
mov eax, dword [esp + 0x64]
push eax
jmp 0x46ef7a
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
call fcn.00468820
cmp dword [esi + 0x1bc], 0
mov ecx, dword [esi + 0x238]
mov dword [esi + 0x1c4], ecx
je 0x46ecaa
mov eax, 1
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], eax
mov eax, dword [esi + 0x550]
cmp dword [esi + 0x54c], eax
je 0x46ecaa
mov dword [esi + 0x54c], eax
mov edx, dword [esp + 0x24]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x88]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.004017c0
push ebp
push edi
mov ecx, esi
call fcn.00469500
lea eax, [ebp + ebp]
xor edi, edi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x46ed87
cmp edi, dword [esp + 0x58]
jbe 0x46ed01
call fcn.004a067d
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x46ed10
lea eax, [esp + 0x48]
mov cl, byte [eax + edi]
xor cl, byte [esi + 0xfa5]
lea ebp, [edi + 1]
mov byte [esp + 0x14], cl
cmp ebp, dword [esp + 0x58]
jbe 0x46ed2b
call fcn.004a067d
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x46ed3a
lea eax, [esp + 0x48]
mov dl, byte [esi + 0xfa5]
add dl, byte [esi + 0x854]
mov ecx, dword [esp + 0x94]
xor dl, byte [eax + ebp]
push 0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1d], dl
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.0046e8b0
mov eax, dword [esi + 0x48c]
add eax, dword [esi + 0xc8]
add edi, 2
add dword [esi + 0x1c4], eax
cmp edi, dword [esp + 0x20]
jl 0x46ecf6
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x528], ecx
jmp 0x46ef35
add edi, 3
cmp byte [esp + 0x14], 0xfe
je 0x46eed0
cmp byte [esp + 0x15], 0xfe
je 0x46eed0
cmp dword [esi + 0x230], 1
jne 0x46edd1
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00468820
mov al, byte [esi + 0xfa5]
mov cl, byte [esi + 0x858]
xor byte [esp + 0x14], al
add cl, al
mov eax, dword [esp + 0x94]
push 0
dec cl
xor byte [esp + 0x19], cl
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0046e8b0
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0x1c4]
add eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x48c]
lea edx, [ecx + eax*2]
add edx, dword [esp + 0x28]
mov dword [esp + 0x30], 0
cmp edx, dword [esi + 0x23c]
jl 0x46eebe
mov ecx, dword [esi + 0x490]
add ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x238]
add ecx, edx
cmp ecx, dword [esi + 0x240]
mov dword [esi + 0x1c4], eax
jge 0x46efab
mov eax, dword [esi + 0x1bc]
cmp eax, dword [esi + 0xb4]
jge 0x46f04b
inc dword [esi + 0x1c0]
inc eax
cmp edi, dword [esp + 0x2c]
mov dword [esi + 0x1c8], ecx
mov dword [esi + 0x1bc], eax
jle 0x46ef39
push edi
mov ecx, ebx
call fcn.00401390
movzx eax, byte [eax]
lea ecx, [edi + 2]
push ecx
mov ecx, ebx
mov byte [esp + 0x18], al
call fcn.00401390
cmp byte [esp + 0x14], 0xfe
mov al, byte [eax]
je 0x46eeb9
cmp al, 0xfe
jne 0x46ef35
add edi, 3
jmp 0x46ef35
mov edx, dword [esi + 0xc8]
add edx, ecx
add edx, eax
mov dword [esi + 0x1c4], edx
jmp 0x46ef35
cmp dword [esp + 0x30], 0
jne 0x46ef35
mov eax, dword [esi + 0x238]
mov ecx, dword [esi + 0xcc]
mov dword [esi + 0x1c4], eax
mov eax, dword [esi + 0x490]
mov ebp, 1
add dword [esi + 0x1bc], ebp
add dword [esi + 0x1c0], ebp
lea edx, [ecx + eax]
add dword [esi + 0x1c8], edx
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0xb4]
mov dword [esp + 0x30], ebp
jg 0x46f0ba
mov edx, dword [esi + 0x1c8]
add edx, ecx
add edx, eax
cmp edx, dword [esi + 0x240]
jge 0x46f136
cmp edi, dword [esp + 0x2c]
jl 0x46e9d6
xor edi, edi
lea ebp, [edi + 0xf]
mov dword [esi + 0x52c], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46ef62
mov eax, dword [esp + 0x48]
push eax
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46ef82
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048f8b2
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004a0abf
add esp, 0x78
ret 8
mov ebx, 1
cmp dword [esi + 0x230], ebx
jne 0x46efcd
mov ecx, dword [esi + 0x490]
mov edx, dword [esi + 0x48c]
push ecx
push edx
mov ecx, esi
call fcn.00468820
mov ecx, esi
call fcn.004686c0
xor edi, edi
cmp dword [esi + 0x1bc], edi
je 0x46effe
mov eax, dword [esi + 0x550]
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
cmp dword [esi + 0x54c], eax
je 0x46effe
mov dword [esi + 0x54c], eax
mov dword [esi + 0x52c], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46f01c
mov eax, dword [esp + 0x48]
push eax
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46f1c8
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048f8b2
add esp, 4
mov eax, ebx
jmp 0x46ef87
cmp dword [esi + 0x230], 1
jne 0x46f069
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00468820
mov ecx, esi
call fcn.004686c0
call fcn.004337d0
xor edi, edi
mov dword [esi + 0x52c], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46f095
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46ef82
mov edx, dword [esp + 0x64]
push edx
jmp 0x46ef7a
mov ecx, esi
call fcn.004686c0
xor edi, edi
cmp dword [esi + 0x1bc], edi
je 0x46f0ed
mov eax, ebp
mov dword [esi + 0x204], eax
mov dword [esi + 0x208], eax
mov eax, dword [esi + 0x550]
cmp dword [esi + 0x54c], eax
je 0x46f0ed
mov dword [esi + 0x54c], eax
mov dword [esi + 0x52c], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46f10b
mov eax, dword [esp + 0x48]
push eax
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46f12f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048f8b2
add esp, 4
mov eax, ebp
jmp 0x46ef87
mov ebx, ebp
cmp dword [esi + 0x230], ebx
jne 0x46f155
mov edx, dword [esi + 0x490]
mov eax, dword [esi + 0x48c]
push edx
push eax
mov ecx, esi
call fcn.00468820
mov ecx, esi
call fcn.004686c0
xor edi, edi
cmp dword [esi + 0x1bc], edi
je 0x46f186
mov eax, dword [esi + 0x550]
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
cmp dword [esi + 0x54c], eax
je 0x46f186
mov dword [esi + 0x54c], eax
mov dword [esi + 0x52c], edi
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x46f1a4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0048f8b2
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x78], esi
jb 0x46f1c8
mov edx, dword [esp + 0x64]
push edx
call fcn.0048f8b2
add esp, 4
mov eax, ebx
jmp 0x46ef87