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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x462f3c
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push esi
push edi
mov eax, dword [0x47c020]
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 0x42b356
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 0x42b356
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x27c], edx
lea esp, [esp]
test edx, edx
je 0x42adf2
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 0x42ae12
xor ecx, ecx
jmp 0x42ae26
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ae17
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0040fb90
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 0x42ae74
mov edx, str.Image
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42ae84
add ecx, 2
add edx, 2
dec esi
jne 0x42ae63
xor eax, eax
test eax, eax
jne 0x42ae9c
cmp edi, 5
jae 0x42ae92
or eax, 0xffffffff
jmp 0x42ae9a
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x42ae76
xor eax, eax
cmp edi, 5
setne al
test eax, eax
sete al
test al, al
jne 0x42b2b7
push 4
push str.Font
push edi
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040e990
test eax, eax
je 0x42b2b3
push 5
push str.Class
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040e990
test eax, eax
je 0x42b2b3
push 9
push str.TextColor
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040e990
test eax, eax
je 0x42b2b3
push 7
push str.Include
push dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040e990
test eax, eax
jne 0x42b07d
cmp dword [esp + 0x27c], eax
je 0x42afc5
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x42af3c
lea ecx, [esp + 0x74]
call fcn.004311d0
mov eax, dword [esp + 0x78]
test eax, eax
setg al
test al, al
je 0x42afc5
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.004594a0
add esp, 8
lea eax, [esp + 0x498]
lea ecx, [esp + 0x78]
push eax
push str.count
call fcn.004310c0
test al, al
je 0x42afa7
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x49c]
push eax
call fcn.0044f9a5
add esp, 0xc
mov esi, eax
push ecx
lea eax, [esp + 0x498]
push eax
push str.source
lea ecx, [esp + 0x80]
call fcn.004310c0
test al, al
jne 0x42afde
lea ecx, [esp + 0x2c]
mov dword [esp + 0x890], 0xffffffff
call fcn.00410170
jmp 0x42b2d3
test esi, esi
jle 0x42b068
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.004139a0
push ecx
mov eax, esp
lea ecx, [esp + 0x4bc]
mov dword [eax], ecx
lea ecx, [esp + 0x2ac]
call fcn.00428fc0
lea ecx, [esp + 0x284]
call fcn.004114b0
dec esi
jne 0x42aff0
mov dword [esp + 0x890], 0xffffffff
cmp dword [esp + 0x40], 8
jmp 0x42b2c5
lea eax, [esp + 0x2c]
push eax
call fcn.0042b380
mov edi, eax
test edi, edi
jne 0x42b106
mov edx, str.Event
lea ecx, [esp + 0x2c]
call fcn.004120f0
test al, al
jne 0x42b25c
mov edx, str.BubbledEvent
lea ecx, [esp + 0x2c]
call fcn.004120f0
test al, al
jne 0x42b25c
mov ecx, dword [0x4815b0]
test ecx, ecx
je 0x42b0d3
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov edi, eax
test edi, edi
jne 0x42b106
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x150], 0
je 0x42afc5
mov ecx, dword [eax + 0x150]
test ecx, ecx
je 0x42b344
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
call dword [eax + 8]
mov edi, eax
test edi, edi
je 0x42afc5
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [esp + 0x14]
push ebx
call dword [eax + 4]
lea ecx, [esp + 0x74]
call fcn.004311a0
test al, al
je 0x42b1dd
lea ecx, [esp + 0x74]
call fcn.00431180
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x42b1d9
jmp 0x42b140
push esi
lea ecx, [esp + 0x78]
call fcn.00431070
push eax
lea ecx, [esp + 0x60]
call fcn.0040fc90
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x894], 2
call fcn.00431020
push eax
lea ecx, [esp + 0x48]
call fcn.0040fc90
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 0x42b19f
push dword [esp + 0x44]
call fcn.0044da7e
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 0x42b1d0
push dword [esp + 0x5c]
call fcn.0044da7e
add esp, 4
inc esi
cmp esi, ebx
jl 0x42b140
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x27c]
test edx, edx
je 0x42b20e
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 0x42b20e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push ebx
push edi
push eax
call fcn.0042ad50
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x42b286
push 0
push 0x47e7dc
push 0x47e0d8
push 0
push ebx
call fcn.0044f55b
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x42b349
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x134]
call eax
test al, al
jne 0x42b286
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 0x42afc5
mov edx, str.BubbledEvent
lea ecx, [esp + 0x2c]
call fcn.004120f0
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x28], al
lea eax, [esp + 0x74]
push ebx
push eax
push dword [esp + 0x30]
call fcn.0042bc70
jmp 0x42afc5
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 0x42b2d7
push dword [esp + 0x2c]
call fcn.0044da7e
add esp, 4
jmp 0x42b2d7
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x890], 0xffffffff
cmp ebx, 8
jb 0x42b2d3
push dword [esp + 0x2c]
call fcn.0044da7e
add esp, 4
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x27c], 0
jne 0x42b2e5
xor eax, eax
jmp 0x42b317
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 0x42b317
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 0x42b356
mov edx, dword [esp + 0x27c]
mov eax, dword [esp + 0x74]
jmp 0x42ade0
call fcn.0044d928
lea ecx, [esp + 0x2c]
call fcn.00410170
xor eax, eax
jmp 0x42b358
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.0044e224
mov esp, ebp
pop ebp
ret 0xc