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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
push ebx
mov ebx, ecx
mov ecx, dword [eax]
sub edx, ecx
mov dword [esp + 4], ecx
mov ecx, dword [ebx + 0x5c]
push esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 0xc]
push edi
lea edi, [ecx*8]
sub edi, ecx
movzx ecx, byte [ebx + 0x20]
shr ecx, 3
mov dword [esp + 0x18], edi
mov edi, ecx
mov ecx, dword [esp + 0x18]
imul edi, dword [ecx*8 + 0x47ad10]
sub eax, esi
cmp dword [ebx + 0x1980], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jge 0x426342
mov eax, dword [ebx + 0x197c]
test eax, eax
je 0x4262e3
push eax
call fcn.0045e501
add esp, 4
lea edx, [edi + 1]
push edx
call fcn.0045e0f8
add esp, 4
mov dword [ebx + 0x197c], eax
test eax, eax
jne 0x426334
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, ebx
call fcn.00424860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x1980], edi
cmp byte [ebx + 0x21], 0x18
jne 0x426368
mov ecx, 0xff
cmp word [ebx + 0x24], cx
jne 0x426368
cmp word [ebx + 0x26], cx
jne 0x426368
cmp word [ebx + 0x28], cx
jne 0x426368
mov byte [ebx + 0x1988], 1
jmp 0x42636f
mov byte [ebx + 0x1988], 0
cmp dword [ebx + 0x64], 0
je 0x426642
mov edi, eax
imul edi, edx
cmp edi, 0x1000
jl 0x426642
mov eax, dword [ebx + 0x5c]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov eax, dword [ecx + ecx + 0x47ad10]
add ecx, ecx
mov ecx, dword [ecx + 0x47ad14]
cmp edx, ecx
jg 0x4263af
mov ecx, edx
cdq
idiv ecx
mov edx, dword [esp + 0x20]
add edx, esi
cmp esi, edx
mov ecx, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
jge 0x426642
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
imul eax, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x68], eax
mov edx, ecx
sub edx, esi
cmp edx, dword [esp + 0x44]
jl 0x426453
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
lea esi, [ecx + eax]
push esi
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push edx
push eax
push ebx
lea eax, [esp + 0x80]
call fcn.004272a0
mov ecx, eax
mov eax, edi
mov edi, dword [ebp + 0xc]
call fcn.0044b560
mov ecx, dword [esp + 0x44]
sub dword [esp + 0x20], ecx
mov edx, dword [esp + 0x68]
sub dword [esp + 0x28], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x20]
lea edx, [eax + esi]
lea edi, [ecx + 0x10]
cmp edi, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], edi
jg 0x426473
mov dword [esp + 0x40], 0x10
jmp 0x42647b
sub eax, ecx
add eax, esi
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0xc]
cmp edi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
jge 0x426630
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
jmp 0x4264a4
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x10]
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
jg 0x4264bb
mov dword [esp + 0x2c], 0x10
jmp 0x4264c3
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov al, byte [ebx + 0x10]
cmp al, 0x10
je 0x426577
cmp al, 0x20
je 0x42651e
mov eax, dword [ebx + 0x40]
imul eax, ecx
add eax, edi
add eax, dword [ebp + 8]
xor esi, esi
cmp dword [esp + 0x40], esi
mov cl, byte [eax]
mov byte [esp + 0x17], cl
jle 0x42650d
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
jle 0x426503
mov dl, byte [esp + 0x17]
cmp dl, byte [ecx + eax]
jne 0x426517
inc ecx
cmp ecx, dword [esp + 0x2c]
jl 0x4264f3
add eax, dword [ebx + 0x40]
inc esi
cmp esi, dword [esp + 0x40]
jl 0x4264eb
movzx eax, byte [esp + 0x17]
jmp 0x4265c8
xor al, al
jmp 0x4265ce
mov esi, dword [ebx + 0x40]
mov ecx, esi
imul ecx, dword [esp + 0x34]
add ecx, dword [ebp + 8]
mov edx, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
mov dword [esp + 0x18], edx
xor edx, edx
cmp dword [esp + 0x40], edx
jle 0x426571
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x426564
jmp 0x426550
mov edi, dword [esp + 0x18]
cmp edi, dword [ecx + eax*4]
jne 0x426660
inc eax
cmp eax, dword [esp + 0x2c]
jl 0x426550
inc edx
add ecx, esi
cmp edx, dword [esp + 0x40]
jl 0x42653d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
jmp 0x4265c8
mov esi, dword [ebx + 0x40]
mov ecx, esi
imul ecx, dword [esp + 0x34]
add ecx, dword [ebp + 8]
movzx edx, word [ecx + edi*2]
lea ecx, [ecx + edi*2]
mov dword [esp + 0x18], edx
xor edx, edx
cmp dword [esp + 0x40], edx
jle 0x4265c3
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x4265b6
nop
mov di, word [esp + 0x18]
cmp di, word [ecx + eax*2]
jne 0x426660
inc eax
cmp eax, dword [esp + 0x2c]
jl 0x4265a0
inc edx
add ecx, esi
cmp edx, dword [esp + 0x40]
jl 0x426597
mov edi, dword [esp + 0x10]
movzx eax, word [esp + 0x18]
mov dword [esp + 0x24], eax
mov al, 1
test al, al
je 0x426615
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x2c]
push ecx
sub eax, ecx
mov ecx, dword [ebp + 8]
add eax, dword [esp + 0x48]
push edi
push ecx
push ebx
call fcn.004269b0
mov eax, dword [esp + 0x48]
imul eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x28]
je 0x42666b
cmp eax, 0x800
jge 0x42666b
mov edi, dword [esp + 0x64]
sub dword [esp + 0x3c], 0x10
cmp edi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
jl 0x4264a0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
jl 0x4263e7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push ebx
call fcn.004272a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x10]
xor al, al
jmp 0x4265ce
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 8]
push eax
push esi
push ecx
push edx
push ebx
mov dword [esp + 0x3c], edi
call fcn.00426d10
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push edi
push eax
push esi
push ecx
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea esi, [edi + eax]
push esi
push ecx
push edi
push edx
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
push esi
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
add eax, edx
push eax
lea ecx, [esp + 0xb0]
push ecx
call edi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add edx, eax
push edx
mov edx, dword [esp + 0x10]
push ecx
push esi
push edx
lea eax, [esp + 0xc0]
push eax
call edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
cmp dword [esp + 0x1c], 2
jne 0x4268e6
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
push ecx
lea edx, [eax + 1]
push edx
push esi
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebx + 0x197c]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], edx
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov eax, ebx
call fcn.004276c0
cmp byte [ebx + 0x1988], 0
je 0x4267da
mov eax, dword [ebx + 0x197c]
push 1
mov ecx, ebx
call fcn.004283c0
mov dword [esp + 0xc], 3
jmp 0x4267e5
movzx eax, byte [ebx + 0x20]
shr eax, 3
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1978]
mov edx, dword [ebx + 0x1974]
mov ecx, dword [esp + 0xc]
mov byte [edx + eax], 0x80
mov edx, dword [ebx + 0x197c]
mov eax, dword [ebp + 0x10]
inc dword [ebx + 0x1978]
push ecx
push edx
push eax
call fcn.00463790
mov esi, dword [ebx + 0x1978]
mov eax, dword [ebx + 0x1974]
add esp, 0xc
cmp byte [edi + 0xc], 0
mov ecx, esi
je 0x426866
mov edx, dword [edi + 8]
cmp byte [edx + 0x21], 0
je 0x426866
cmp byte [edi + 0x5c], 0
je 0x42684c
mov ecx, dword [edi + 0x58]
add ecx, dword [edi + 0x60]
push esi
push eax
push ecx
call fcn.00463790
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x42686e
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
mov esi, edx
mov dword [esp + 0x24], 0
call fcn.00402ad0
mov ecx, dword [esp + 0x18]
push ecx
mov esi, edi
call fcn.0044b3e0
cmp byte [edi + 0xc], 0
mov esi, dword [esp + 0xc]
mov ecx, esi
je 0x4268c5
mov eax, dword [edi + 8]
cmp byte [eax + 0x21], 0
je 0x4268c5
cmp byte [edi + 0x5c], 0
je 0x4268a2
mov eax, dword [edi + 0x58]
mov edx, dword [ebp + 0x10]
add eax, dword [edi + 0x60]
push esi
push edx
push eax
call fcn.00463790
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x4268d4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ecx
mov esi, eax
mov dword [esp + 0x30], 0
call fcn.00402ad0
mov ecx, dword [esp + 0x24]
jmp 0x4268c8
mov eax, dword [ebp + 0x10]
push ecx
mov esi, edi
call fcn.0044b3e0
mov esi, dword [esp + 0xc]
mov eax, dword [ebx + 0x1978]
lea edx, [eax + esi - 0xc]
add dword [ebx + 0x54], edx
add eax, esi
add dword [ebx + 0x58], eax
mov eax, dword [esp + 0x1c]
shl eax, 4
mov edx, dword [esp + eax + 0x80]
lea ecx, [esp + eax + 0x80]
cmp edx, dword [esp + eax + 0x88]
je 0x426985
mov edx, dword [esp + eax + 0x84]
cmp edx, dword [esp + eax + 0x8c]
je 0x426985
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push edi
push edx
mov ecx, ebx
call eax
cmp byte [edi + 0xc], 0
mov esi, eax
je 0x42697a
mov eax, dword [edi + 8]
cmp byte [eax + 0x21], 0
je 0x42697a
cmp byte [edi + 0x5c], 0
je 0x42695b
mov edx, dword [edi + 0x58]
mov ecx, dword [ebp + 0x10]
add edx, dword [edi + 0x60]
push esi
push ecx
push edx
call fcn.00463790
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x426985
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
push esi
push edx
mov esi, eax
mov dword [esp + 0x48], 0
call fcn.00402ad0
mov esi, dword [esp + 0x3c]
jmp 0x42697d
mov eax, dword [ebp + 0x10]
push esi
mov esi, edi
call fcn.0044b3e0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 4
mov dword [esp + 0x1c], eax
jl 0x426740
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10