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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x100f2010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100f414c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x3954
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x8c]
add eax, 1
mov ecx, dword [ebp - 0xa8]
cmp eax, dword [ecx + 0x3fe0]
jne 0x100307f6
mov byte [ebp - 0xae], 1
jmp 0x100307fd
mov byte [ebp - 0xae], 0
mov dl, byte [ebp - 0xae]
mov byte [ebp - 0xad], dl
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0xa8]
shr cl, 6
and cl, 1
movzx edx, cl
test edx, edx
je 0x10030833
movzx eax, byte [ebp - 0xad]
test eax, eax
je 0x10030833
mov byte [ebp - 0xaf], 1
jmp 0x1003083a
mov byte [ebp - 0xaf], 0
mov cl, byte [ebp - 0xaf]
mov byte [ebp - 0xb9], cl
mov edx, dword [ebx + 8]
cmp dword [edx + 0x9c], 0
je 0x10030869
movzx eax, byte [ebp - 0xad]
test eax, eax
je 0x10030869
mov dword [ebp - 0x134], 1
jmp 0x10030873
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xa8]
and al, 0xbf
mov ecx, dword [ebx + 8]
mov byte [ecx + 0xa8], al
mov edx, dword [ebx + 8]
mov dword [edx + 0x9c], 0
mov byte [ebp - 0xa1], 0
mov eax, dword [ebx + 8]
push eax
call fcn.10005850
add esp, 4
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebx + 8]
push edx
call fcn.10030660
add esp, 8
movzx eax, al
test eax, eax
je 0x100308da
mov byte [ebp - 0xa1], 1
mov ecx, dword [ebx + 8]
call fcn.10003450
movzx ecx, al
test ecx, ecx
jne 0x100308fc
mov ecx, dword [ebx + 8]
call fcn.10003480
movzx edx, al
test edx, edx
je 0x100309d2
mov eax, dword [ebx + 8]
cmp dword [eax + 0x24], 0
jle 0x10030928
mov ecx, dword [ebx + 8]
add ecx, 0x24
mov dword [ebp - 0x150], ecx
push 0
mov ecx, dword [ebp - 0x150]
call fcn.100382a0
mov edx, dword [eax]
mov dword [ebp - 0x128], edx
jmp 0x10030932
mov dword [ebp - 0x128], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x128]
mov dword [eax + 0x78], ecx
mov dl, byte [ebp - 0xa1]
and dl, 1
shl dl, 1
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0xa8]
and cl, 0xfd
or cl, dl
mov edx, dword [ebx + 8]
mov byte [edx + 0xa8], cl
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x10030980
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x3fe0]
mov dword [ecx + 0x90], eax
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x78], 0
je 0x100309cd
movzx edx, byte [ebp - 0xa1]
test edx, edx
jne 0x100309a0
mov eax, dword [ebp - 0xe4]
cmp dword [eax + 0x78], 0
jne 0x100309af
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x30], 0
je 0x100309cd
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x78]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [eax + 0xac]
mov dword [edx + 0x1c], eax
jmp 0x10031a52
mov ecx, dword [ebx + 0xc]
mov dl, byte [ecx + 0xec]
mov byte [ebp - 0xbb], dl
mov ecx, dword [ebx + 8]
call fcn.100033b0
movzx eax, al
test eax, eax
jne 0x10030a07
mov ecx, dword [ebx + 0xc]
mov byte [ecx + 0xec], 0
mov edx, dword [ebx + 0xc]
mov dword [edx + 0x188], 1
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push ecx
call fcn.1001aaf0
add esp, 4
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x10030a36
mov dword [ebp - 0x130], 1
jmp 0x10030a40
mov dword [ebp - 0x130], 0
mov cl, byte [ebp - 0x130]
mov byte [ebp - 0xc1], cl
cmp dword [ebp - 0xa0], 0
jne 0x10030a6d
mov edx, dword [ebx + 8]
push edx
call fcn.10031a70
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xd0], 0
mov dl, byte [ebp - 0xa1]
and dl, 1
shl dl, 1
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0xa8]
and cl, 0xfd
or cl, dl
mov edx, dword [ebx + 8]
mov byte [edx + 0xa8], cl
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
and edx, 0x4000
jne 0x10030ac8
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x28], 0xffffffff
je 0x10030ac8
mov byte [ebp - 0xb0], 1
jmp 0x10030acf
mov byte [ebp - 0xb0], 0
mov cl, byte [ebp - 0xb0]
mov byte [ebp - 0xb1], cl
movzx edx, byte [ebp - 0xb1]
test edx, edx
je 0x10030b6d
push 0
push 0x100ba974
call fcn.10021160
add esp, 8
movzx eax, al
test eax, eax
je 0x10030b6d
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebx + 8]
push ecx
call fcn.100304f0
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x18], 0
je 0x10030b4e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x174]
je 0x10030b4e
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xd0], eax
movzx ecx, byte [ebp - 0xa1]
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xa8]
shr al, 1
and al, 1
movzx edx, al
or ecx, edx
mov byte [ebp - 0xa1], cl
lea ecx, [ebp - 0x84]
call fcn.10002480
lea ecx, [ebp - 0x9c]
call fcn.10002480
lea ecx, [ebp - 0x74]
call fcn.100010b0
lea ecx, [ebp - 0x8c]
call fcn.100010b0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebx + 8]
push ecx
call fcn.10031d60
add esp, 0x14
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0xe8], 0
jmp 0x10030be4
mov ecx, dword [ebp - 0xe8]
add ecx, 1
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0xe8]
cmp eax, dword [edx + 0x24]
jge 0x10030c55
mov ecx, dword [ebx + 8]
add ecx, 0x24
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0x178]
call fcn.100382a0
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + 0xac]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.1006a040
add esp, 8
test eax, eax
jne 0x10030c53
mov ecx, dword [ebp - 0x124]
push ecx
push 0x400000
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1006a160
add esp, 0xc
jmp 0x10030bd5
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x10030c75
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x3fe0]
mov dword [ecx + 0x90], eax
mov ecx, dword [ebx + 0xc]
movzx edx, byte [ecx + 0xea]
test edx, edx
je 0x10030c8f
mov dword [ebp - 0x104], 0xc
jmp 0x10030cbc
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x10030ca6
mov dword [ebp - 0x12c], 0xb
jmp 0x10030cb0
mov dword [ebp - 0x12c], 0xa
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x104], ecx
push ecx
movss xmm0, dword [0x100eafd0]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x104]
push edx
call fcn.10008a40
add esp, 8
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xa8]
movss xmm0, dword [eax + 0x3a28]
movss dword [ebp - 0x190], xmm0
lea ecx, [ebp - 0x1d4]
push ecx
mov ecx, dword [ebx + 0xc]
call fcn.10005060
mov dword [ebp - 0x138], eax
push ecx
movss xmm0, dword [ebp - 0x190]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.1004fc40
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x2ac]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebx + 0xc]
push ecx
movss xmm0, dword [ecx + 0x84]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x140]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x144]
call fcn.10049350
movzx edx, byte [ebp - 0xb1]
test edx, edx
je 0x10030e1b
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 0
push str.COLLAPSE
mov ecx, dword [ebx + 0xc]
call fcn.1000b3a0
push eax
call fcn.1005a050
add esp, 0xc
movzx edx, al
test edx, edx
je 0x10030dbd
push 0
push str.WindowMenu
call fcn.100212b0
add esp, 8
call fcn.1000fc20
movzx eax, al
test eax, eax
je 0x10030dd8
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xd0], edx
push 0x11000
call fcn.1000bb90
add esp, 4
movzx eax, al
test eax, eax
je 0x10030e1b
mov ecx, dword [ebp - 0xa8]
movss xmm0, dword [ecx + 0x40b0]
comiss xmm0, dword [0x100eaf58]
jbe 0x10030e1b
push 0xa
call fcn.10005580
add esp, 4
push eax
push 0x100ba998
call fcn.10020f90
add esp, 8
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
sub edx, 1
mov dword [ebp - 0xc8], edx
jmp 0x10030e4b
mov eax, dword [ebp - 0xc8]
sub eax, 1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jl 0x10030eca
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x148]
call fcn.10038620
mov eax, dword [eax + 4]
and eax, 0x400000
je 0x10030eca
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.10038620
add eax, 4
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
and ecx, 0xffbfffff
mov edx, dword [ebp - 0x108]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
jmp 0x10030e3c
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0xb8]
jle 0x100310e3
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x5fd4]
and ecx, 0x100
je 0x10030f44
mov edx, dword [ebp - 0xb8]
add edx, 1
mov eax, dword [ebp - 0xa0]
cmp dword [eax], edx
jle 0x10030f11
mov dword [ebp - 0x10c], str.__will_sort_
jmp 0x10030f1b
mov dword [ebp - 0x10c], 0x100b8cd3
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
sub eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push edx
push str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.100379a0
add esp, 0x10
xor eax, eax
jne 0x10030ede
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xec], ecx
jmp 0x10030f65
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [eax]
jge 0x10031038
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x194]
call fcn.10038620
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x5fd4]
and edx, 0x100
je 0x1003102b
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 8], 0
je 0x10030fd5
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 8]
movsx eax, word [edx + 0x3aa]
mov dword [ebp - 0x110], eax
jmp 0x10030fdf
mov dword [ebp - 0x110], 0xffffffff
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1006a120
add esp, 8
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
push str._docking____Tab_0x_08X__s_Order__d_n
call fcn.100379a0
add esp, 0x10
xor edx, edx
jne 0x10030f9d
jmp 0x10030f56
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x5fd4]
and ecx, 0x100
je 0x1003109d
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x4b90], 0
je 0x10031075
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x4b90]
mov edx, dword [ecx + 0xac]
mov dword [ebp - 0x114], edx
jmp 0x1003107f
mov dword [ebp - 0x114], 0xffffffff
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x98]
push edx
push str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.100379a0
add esp, 0xc
xor eax, eax
jne 0x10031038
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov edx, dword [ebp - 0xa0]
cmp dword [edx], ecx
jle 0x100310e3
push 0x10030310
push 0x30
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xb8]
push ecx
imul edx, dword [ebp - 0xb8], 0x30
mov eax, dword [ebp - 0xa0]
add edx, dword [eax + 8]
push edx
call fcn.10001f20
add esp, 0x10
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x4b90], 0
je 0x10031130
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x4b90]
mov ecx, dword [eax + 0x348]
mov edx, dword [ecx + 0x3c4]
cmp edx, dword [ebx + 8]
jne 0x10031130
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x4b90]
mov edx, dword [ecx + 0x348]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edx + 0xac]
mov dword [eax + 0x14], ecx
movzx edx, byte [ebp - 0xc1]
test edx, edx
je 0x1003117e
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1006a040
add esp, 8
test eax, eax
je 0x1003117e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x98]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x14], edx
jmp 0x100311bd
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x15c]
jle 0x100311bd
mov ecx, dword [ebp - 0xa0]
call fcn.10038600
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edx + 0xac]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x14], ecx
mov dword [ebp - 0xd4], 3
mov edx, dword [ebp - 0xd4]
or edx, 0x500000
mov dword [ebp - 0xd4], edx
mov eax, dword [ebx + 0xc]
movzx ecx, byte [eax + 0xea]
test ecx, ecx
jne 0x10031203
movzx edx, byte [ebp - 0xa1]
test edx, edx
je 0x10031203
mov eax, dword [ebp - 0xd4]
or eax, 0x200000
mov dword [ebp - 0xd4], eax
push 0x100baa48
call fcn.1001abf0
add esp, 4
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
movss xmm0, dword [edx + 0x34]
addss xmm0, dword [eax + 0x88]
mov ecx, dword [ebp - 0xa0]
movss dword [ecx + 0x60], xmm0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 8]
movss xmm0, dword [edx + 0x34]
addss xmm0, dword [eax + 0x3c]
mov ecx, dword [ebx + 0xc]
subss xmm0, dword [ecx + 0x88]
mov edx, dword [ebp - 0xa0]
movss dword [edx + 0x64], xmm0
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.100688c0
add esp, 0xc
push fcn.10001150
push 6
push 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.10004f50
mov dword [ebp - 0xd8], 0
jmp 0x100312a7
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xd8], 6
jge 0x100312f2
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx*4 + 0x100be258]
shl eax, 4
mov ecx, dword [ebp - 0xa8]
lea edx, [ecx + eax + 0x3a3c]
mov eax, dword [ebp - 0xd8]
shl eax, 4
lea ecx, [ebp + eax - 0x68]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x10031298
mov eax, dword [ebx + 8]
mov dword [eax + 0x78], 0
mov dword [ebp - 0xf4], 0
jmp 0x10031317
mov ecx, dword [ebp - 0xf4]
add ecx, 1
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0xf4]
cmp eax, dword [edx + 0x24]
jge 0x10031617
mov ecx, dword [ebx + 8]
add ecx, 0x24
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x160]
call fcn.100382a0
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
movzx ecx, byte [ebp - 0xb9]
test ecx, ecx
jne 0x1003136e
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x164]
cmp eax, dword [edx + 0xac]
jne 0x10031395
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx + 0xf1]
test edx, edx
je 0x10031395
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xc]
and ecx, 0x40000
jne 0x10031395
jmp 0x10031308
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x278]
add eax, 1
mov ecx, dword [ebp - 0xa8]
cmp eax, dword [ecx + 0x3fe0]
jge 0x100313c1
movzx edx, byte [ebp - 0xad]
test edx, edx
jne 0x10031612
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc0]
or ecx, dword [eax + 0x2c]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0xc]
and eax, 0x40000
je 0x100313ff
mov ecx, dword [ebp - 0xc0]
or ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0xc]
and eax, 8
je 0x1003141c
mov ecx, dword [ebp - 0xc0]
or ecx, 4
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xdc], 0
jmp 0x10031437
mov edx, dword [ebp - 0xdc]
add edx, 1
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 6
jge 0x100314cf
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + eax*4 + 0x3ac]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.10008110
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0x188], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x184], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x180], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax*4 + 0x100be258]
shl ecx, 4
mov edx, dword [ebp - 0xa8]
lea eax, [edx + ecx + 0x3a3c]
mov ecx, dword [ebp - 0x188]
mov dword [eax], ecx
mov edx, dword [ebp - 0x184]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x180]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x17c]
mov dword [eax + 0xc], edx
jmp 0x10031428
mov byte [ebp - 0x69], 1
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx + 0xf1]
test edx, edx
je 0x100314fb
lea eax, [ebp - 0x69]
mov dword [ebp - 0x118], eax
jmp 0x10031505
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.1006af80
add esp, 0x14
movzx ecx, byte [ebp - 0x69]
test ecx, ecx
jne 0x10031550
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xac]
mov dword [edx + 0x9c], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xac]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0xac]
jne 0x10031573
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0xac]
mov dword [edx + 0x78], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x49f0]
mov dword [ecx + 0x3d0], eax
mov ecx, dword [ebp - 0xa8]
add ecx, 0x49f4
mov edx, dword [ebp - 0xac]
add edx, 0x3d4
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x4b90], 0
je 0x10031612
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x4b90]
mov edx, dword [ecx + 0x348]
cmp edx, dword [ebp - 0xac]
jne 0x10031612
mov eax, dword [ebp - 0xac]
movsx ecx, word [eax + 0x18c]
and ecx, 2
jne 0x10031612
mov edx, 4
shl edx, 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0xac]
mov dword [eax + edx + 0x364], ecx
jmp 0x10031308
mov dword [ebp - 0xe0], 0
jmp 0x10031632
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 6
jge 0x1003167d
mov eax, dword [ebp - 0xe0]
shl eax, 4
lea ecx, [ebp + eax - 0x68]
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx*4 + 0x100be258]
shl eax, 4
mov edx, dword [ebp - 0xa8]
lea eax, [edx + eax + 0x3a3c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x10031623
mov edx, dword [ebx + 8]
cmp dword [edx + 0x78], 0
je 0x100316ac
movzx eax, byte [ebp - 0xa1]
test eax, eax
jne 0x1003169d
mov ecx, dword [ebp - 0xe4]
cmp dword [ecx + 0x78], 0
jne 0x100316ac
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 0x78], ecx
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xa8]
shr al, 3
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100316e4
mov edx, dword [ebx + 8]
cmp dword [edx + 0x78], 0
je 0x100316e4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x78]
movzx edx, byte [ecx + 0xf1]
test edx, edx
je 0x100316e4
mov byte [ebp - 0xb2], 1
jmp 0x100316eb
mov byte [ebp - 0xb2], 0
mov al, byte [ebp - 0xb2]
mov byte [ebp - 0xb3], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0xa8]
shr dl, 3
and dl, 1
mov byte [ebp - 0xba], dl
movzx eax, byte [ebp - 0xba]
test eax, eax
je 0x1003185a
movzx ecx, byte [ebp - 0xb3]
test ecx, ecx
jne 0x100317aa
push 1
push 4
call fcn.10019cb0
add esp, 8
push ecx
movss xmm0, dword [0x100eaf38]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x100eafd0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x100eafd0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x100eafd0]
movss dword [esp], xmm0
lea ecx, [ebp - 0x1b4]
call fcn.10001190
push eax
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 0x11c]
lea edx, [ecx + eax + 0xe8]
push edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.100016c0
add esp, 0xc
push eax
push 0
call fcn.10008c50
add esp, 8
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0x100baa50
mov ecx, dword [ebx + 0xc]
call fcn.1000b3a0
push eax
call fcn.10059c40
add esp, 8
movzx edx, al
test edx, edx
je 0x10031840
mov eax, dword [ebx + 8]
mov cl, byte [eax + 0xa8]
or cl, 0x40
mov edx, dword [ebx + 8]
mov byte [edx + 0xa8], cl
mov dword [ebp - 0xf8], 0
jmp 0x10031800
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xf8]
cmp edx, dword [ecx]
jge 0x10031840
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0x16c]
call fcn.10038620
push eax
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1006a270
add esp, 8
jmp 0x100317f1
movzx eax, byte [ebp - 0xb3]
test eax, eax
jne 0x1003185a
push 1
call fcn.10008d00
add esp, 4
call fcn.10019d30
push 0
push str.TITLEBAR
mov ecx, dword [ebx + 0xc]
call fcn.1000b3a0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x40a4], 0
je 0x100318aa
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x40a4]
cmp eax, dword [ebp - 0xcc]
je 0x100318aa
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x40b8]
cmp edx, dword [ebp - 0xcc]
jne 0x100319a0
mov eax, dword [ebp - 0xcc]
push eax
call fcn.1001f090
add esp, 4
push 0x1000
lea ecx, [ebp - 0x6a]
push ecx
push 0
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.10058d90
add esp, 0x14
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x40a4]
cmp edx, dword [ebp - 0xcc]
jne 0x10031900
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0x49e8], ecx
movzx edx, byte [ebp - 0x6a]
test edx, edx
je 0x100319a0
push 0
push 0
call fcn.1001bb20
add esp, 8
movzx eax, al
test eax, eax
je 0x1003192e
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1006a040
add esp, 8
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x100319a0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x100]
cmp dword [ecx + 8], 0
je 0x1003197c
mov edx, dword [ebp - 0x100]
mov eax, dword [edx + 8]
mov dword [ebp - 0x120], eax
jmp 0x10031988
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x120], edx
push 0
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1000c790
add esp, 0xc
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x18], 0
je 0x100319bb
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0
je 0x10031a1d
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.1006a040
add esp, 8
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x10031a1d
mov ecx, dword [ebp - 0xfc]
cmp dword [ecx + 8], 0
je 0x10031a1d
push 0
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 8]
push eax
call fcn.100196e0
add esp, 8
push 0
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 8]
push edx
call fcn.10023b80
add esp, 8
call fcn.10068bf0
call fcn.1001abc0
mov ecx, dword [ebx + 8]
call fcn.100033b0
movzx eax, al
test eax, eax
jne 0x10031a52
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x188], 0
mov edx, dword [ebx + 0xc]
mov al, byte [ebp - 0xbb]
mov byte [edx + 0xec], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084889
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret