Function at 0x425370
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 + 0x479d20]
sub eax, esi
cmp dword [ebx + 0x1980], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jge 0x425442
mov eax, dword [ebx + 0x197c]
test eax, eax
je 0x4253e3
push eax
call fcn.0045d506
add esp, 4
lea edx, [edi + 1]
push edx
call fcn.0045cadd
add esp, 4
mov dword [ebx + 0x197c], eax
test eax, eax
jne 0x425434
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.00423970
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 0x425468
mov ecx, 0xff
cmp word [ebx + 0x24], cx
jne 0x425468
cmp word [ebx + 0x26], cx
jne 0x425468
cmp word [ebx + 0x28], cx
jne 0x425468
mov byte [ebx + 0x1988], 1
jmp 0x42546f
mov byte [ebx + 0x1988], 0
cmp dword [ebx + 0x64], 0
je 0x425742
mov edi, eax
imul edi, edx
cmp edi, 0x1000
jl 0x425742
mov eax, dword [ebx + 0x5c]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov eax, dword [ecx + ecx + 0x479d20]
add ecx, ecx
mov ecx, dword [ecx + 0x479d24]
cmp edx, ecx
jg 0x4254af
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 0x425742
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 0x425553
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.004263a0
mov ecx, eax
mov eax, edi
mov edi, dword [ebp + 0xc]
call fcn.0044a370
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 0x425573
mov dword [esp + 0x40], 0x10
jmp 0x42557b
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 0x425730
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
jmp 0x4255a4
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x10]
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
jg 0x4255bb
mov dword [esp + 0x2c], 0x10
jmp 0x4255c3
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov al, byte [ebx + 0x10]
cmp al, 0x10
je 0x425677
cmp al, 0x20
je 0x42561e
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 0x42560d
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
jle 0x425603
mov dl, byte [esp + 0x17]
cmp dl, byte [ecx + eax]
jne 0x425617
inc ecx
cmp ecx, dword [esp + 0x2c]
jl 0x4255f3
add eax, dword [ebx + 0x40]
inc esi
cmp esi, dword [esp + 0x40]
jl 0x4255eb
movzx eax, byte [esp + 0x17]
jmp 0x4256c8
xor al, al
jmp 0x4256ce
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 0x425671
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x425664
jmp 0x425650
mov edi, dword [esp + 0x18]
cmp edi, dword [ecx + eax*4]
jne 0x425760
inc eax
cmp eax, dword [esp + 0x2c]
jl 0x425650
inc edx
add ecx, esi
cmp edx, dword [esp + 0x40]
jl 0x42563d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
jmp 0x4256c8
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 0x4256c3
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x4256b6
nop
mov di, word [esp + 0x18]
cmp di, word [ecx + eax*2]
jne 0x425760
inc eax
cmp eax, dword [esp + 0x2c]
jl 0x4256a0
inc edx
add ecx, esi
cmp edx, dword [esp + 0x40]
jl 0x425697
mov edi, dword [esp + 0x10]
movzx eax, word [esp + 0x18]
mov dword [esp + 0x24], eax
mov al, 1
test al, al
je 0x425715
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.00425ab0
mov eax, dword [esp + 0x48]
imul eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x28]
je 0x42576b
cmp eax, 0x800
jge 0x42576b
mov edi, dword [esp + 0x64]
sub dword [esp + 0x3c], 0x10
cmp edi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
jl 0x4255a0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], ecx
jl 0x4254e7
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.004263a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x10]
xor al, al
jmp 0x4256ce
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.00425e10
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 0x4259e6
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.004267c0
cmp byte [ebx + 0x1988], 0
je 0x4258da
mov eax, dword [ebx + 0x197c]
push 1
mov ecx, ebx
call fcn.004274c0
mov dword [esp + 0xc], 3
jmp 0x4258e5
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.00462180
mov esi, dword [ebx + 0x1978]
mov eax, dword [ebx + 0x1974]
add esp, 0xc
cmp byte [edi + 0xc], 0
mov ecx, esi
je 0x425966
mov edx, dword [edi + 8]
cmp byte [edx + 0x21], 0
je 0x425966
cmp byte [edi + 0x5c], 0
je 0x42594c
mov ecx, dword [edi + 0x58]
add ecx, dword [edi + 0x60]
push esi
push eax
push ecx
call fcn.00462180
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x42596e
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
mov esi, edx
mov dword [esp + 0x24], 0
call fcn.00402a30
mov ecx, dword [esp + 0x18]
push ecx
mov esi, edi
call fcn.0044a1f0
cmp byte [edi + 0xc], 0
mov esi, dword [esp + 0xc]
mov ecx, esi
je 0x4259c5
mov eax, dword [edi + 8]
cmp byte [eax + 0x21], 0
je 0x4259c5
cmp byte [edi + 0x5c], 0
je 0x4259a2
mov eax, dword [edi + 0x58]
mov edx, dword [ebp + 0x10]
add eax, dword [edi + 0x60]
push esi
push edx
push eax
call fcn.00462180
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x4259d4
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.00402a30
mov ecx, dword [esp + 0x24]
jmp 0x4259c8
mov eax, dword [ebp + 0x10]
push ecx
mov esi, edi
call fcn.0044a1f0
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 0x425a85
mov edx, dword [esp + eax + 0x84]
cmp edx, dword [esp + eax + 0x8c]
je 0x425a85
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 0x425a7a
mov eax, dword [edi + 8]
cmp byte [eax + 0x21], 0
je 0x425a7a
cmp byte [edi + 0x5c], 0
je 0x425a5b
mov edx, dword [edi + 0x58]
mov ecx, dword [ebp + 0x10]
add edx, dword [edi + 0x60]
push esi
push ecx
push edx
call fcn.00462180
add esp, 0xc
add dword [edi + 0x60], esi
jmp 0x425a85
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.00402a30
mov esi, dword [esp + 0x3c]
jmp 0x425a7d
mov eax, dword [ebp + 0x10]
push esi
mov esi, edi
call fcn.0044a1f0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 4
mov dword [esp + 0x1c], eax
jl 0x425840
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10