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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x47c008]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push esi
push edi
mov eax, dword [0x47c008]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ebx
mov edx, dword [eax + 0x208]
test edx, edx
je 0x41a326
mov eax, dword [eax]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4 + 4]
test eax, eax
je 0x41a326
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x27c], edx
lea esp, [esp]
test edx, edx
je 0x419dc2
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx]
lea edx, [eax + ecx*2]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [edx], ax
jne 0x419de2
xor ecx, ecx
jmp 0x419df6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419de7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00401a00
mov dword [esp + 0x890], 0
lea ecx, [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov esi, 5
mov edi, dword [esp + 0x3c]
cmp ebx, 8
cmovae ecx, dword [esp + 0x2c]
cmp edi, esi
cmovb esi, edi
test esi, esi
je 0x419e44
mov edx, str.Image
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x419e54
add ecx, 2
add edx, 2
dec esi
jne 0x419e33
xor eax, eax
test eax, eax
jne 0x419e6c
cmp edi, 5
jae 0x419e62
or eax, 0xffffffff
jmp 0x419e6a
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x419e46
xor eax, eax
cmp edi, 5
setne al
test eax, eax
sete al
test al, al
jne 0x41a287
push 4
push str.Font
push edi
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bc60
test eax, eax
je 0x41a283
push 5
push str.Class
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bc60
test eax, eax
je 0x41a283
push 9
push str.TextColor
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bc60
test eax, eax
je 0x41a283
push 7
push str.Include
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bc60
test eax, eax
jne 0x41a04d
cmp dword [esp + 0x27c], eax
je 0x419f95
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x419f0c
lea ecx, [esp + 0x74]
call fcn.004215b0
mov eax, dword [esp + 0x78]
test eax, eax
setg al
test al, al
je 0x419f95
xor eax, eax
mov dword [esp + 0x24], 0
push 0x3e6
push eax
mov word [esp + 0x49c], ax
mov esi, 1
lea eax, [esp + 0x49e]
push eax
call fcn.00453020
add esp, 8
lea eax, [esp + 0x498]
lea ecx, [esp + 0x78]
push eax
push str.count
call fcn.004214a0
test al, al
je 0x419f77
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x49c]
push eax
call fcn.0044eef2
add esp, 0xc
mov esi, eax
push ecx
lea eax, [esp + 0x498]
push eax
push str.source
lea ecx, [esp + 0x80]
call fcn.004214a0
test al, al
jne 0x419fae
lea ecx, [esp + 0x2c]
mov dword [esp + 0x890], 0xffffffff
call fcn.00401520
jmp 0x41a2a3
test esi, esi
jle 0x41a038
mov edi, dword [esp + 0x18]
add edi, 0x140
mov dword [esp + 0x284], 0
mov dword [esp + 0x288], 0
mov dword [esp + 0x28c], 0
mov byte [esp + 0x3c0], 1
mov dword [esp + 0x3d4], 0
push 0
push dword [esp + 0x20]
mov byte [esp + 0x898], 1
push dword [esp + 0x1c]
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00414550
push ecx
mov eax, esp
lea ecx, [esp + 0x4bc]
mov dword [eax], ecx
lea ecx, [esp + 0x2ac]
call fcn.00417fb0
lea ecx, [esp + 0x284]
call fcn.0040a610
dec esi
jne 0x419fc0
mov dword [esp + 0x890], 0xffffffff
cmp dword [esp + 0x40], 8
jmp 0x41a295
lea eax, [esp + 0x2c]
push eax
call fcn.0041a350
mov edi, eax
test edi, edi
jne 0x41a0d6
mov edx, str.Event
lea ecx, [esp + 0x2c]
call fcn.0040bce0
test al, al
jne 0x41a22c
mov edx, str.BubbledEvent
lea ecx, [esp + 0x2c]
call fcn.0040bce0
test al, al
jne 0x41a22c
mov ecx, dword [0x481560]
test ecx, ecx
je 0x41a0a3
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov edi, eax
test edi, edi
jne 0x41a0d6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x150], 0
je 0x419f95
mov ecx, dword [eax + 0x150]
test ecx, ecx
je 0x41a314
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov edi, eax
test edi, edi
je 0x419f95
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [esp + 0x14]
push ebx
call dword [eax + 4]
lea ecx, [esp + 0x74]
call fcn.00421580
test al, al
je 0x41a1ad
lea ecx, [esp + 0x74]
call fcn.00421560
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x41a1a9
jmp 0x41a110
push esi
lea ecx, [esp + 0x78]
call fcn.00421450
push eax
lea ecx, [esp + 0x60]
call fcn.00401b00
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x894], 2
call fcn.00421400
push eax
lea ecx, [esp + 0x48]
call fcn.00401b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0x890], 3
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0xd8]
cmp dword [esp + 0x58], 8
jb 0x41a16f
push dword [esp + 0x44]
call fcn.0044d735
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov byte [esp + 0x890], al
cmp dword [esp + 0x70], 8
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jb 0x41a1a0
push dword [esp + 0x5c]
call fcn.0044d735
add esp, 4
inc esi
cmp esi, ebx
jl 0x41a110
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x27c]
test edx, edx
je 0x41a1de
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
cmp dword [eax + ecx*4 + 4], 0
setne al
test al, al
je 0x41a1de
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push ebx
push edi
push eax
call fcn.00419d20
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x41a256
push 0
push 0x47e818
push 0x47e480
push 0
push ebx
call fcn.0044ec35
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x41a319
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x134]
call eax
test al, al
jne 0x41a256
mov eax, dword [edi + 4]
push 1
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, edi
mov eax, dword [ecx]
call dword [eax]
jmp 0x419f95
mov edx, str.BubbledEvent
lea ecx, [esp + 0x2c]
call fcn.0040bce0
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x28], al
lea eax, [esp + 0x74]
push ebx
push eax
push dword [esp + 0x30]
call fcn.0041ac40
jmp 0x419f95
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov dword [esp + 0x890], 0xffffffff
cmove ebx, edi
cmp dword [esp + 0x40], 8
mov dword [esp + 0x10], ebx
jb 0x41a2a7
push dword [esp + 0x2c]
call fcn.0044d735
add esp, 4
jmp 0x41a2a7
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x890], 0xffffffff
cmp ebx, 8
jb 0x41a2a3
push dword [esp + 0x2c]
call fcn.0044d735
add esp, 4
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x27c], 0
jne 0x41a2b5
xor eax, eax
jmp 0x41a2e7
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x27c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 + 8]
test eax, eax
je 0x41a2e7
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x27c]
mov dword [esp + 0x288], 0
mov dword [esp + 0x48c], eax
mov ecx, 0x83
lea esi, [esp + 0x284]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x41a326
mov edx, dword [esp + 0x27c]
mov eax, dword [esp + 0x74]
jmp 0x419db0
call fcn.0044d643
lea ecx, [esp + 0x2c]
call fcn.00401520
xor eax, eax
jmp 0x41a328
mov eax, ebx
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.0044d726
mov esp, ebp
pop ebp
ret 0xc