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

Disassembly:
push 0xffffffffffffffff
push 0x482d62
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x11c]
mov ebp, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x120]
mov ebx, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x154]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x158]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x15c]
mov dword [eax + 0x10], edx
mov dword [edi + 0x15c], 0
mov dword [eax + 0x14], ecx
call fcn.0042a400
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x240]
lea ebx, [edi + 0x240]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x13c]
sub eax, 0x10
mov esi, ebp
mov ebp, dword [esp + 0x140]
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
call fcn.00402be0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, ebx
mov dword [esp + 0x114], 0
call fcn.004027b0
lea ecx, [edi + 0x244]
call fcn.004027b0
lea ecx, [edi + 0x248]
call fcn.004027b0
cmp dword [edi + 0x15c], 0
je 0x413cdc
mov ecx, dword [esp + 0x124]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
jmp 0x413ced
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ecx, dword [esp + 0x124]
push 1
mov dword [esp + 0x74], eax
call fcn.0043cce0
xor edi, edi
mov dword [esp + 0x24], vtable.CArray_struct_wwLineWordColStruct__struct_wwLineWordColStruct__.0
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x114], 1
mov dword [esp + 0x14], edi
call fcn.00440a5b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x414495
lea esp, [esp]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
xor edi, edi
call eax
lea edx, [eax + 0x10]
mov dword [esp + 0x4c], edx
mov word [esp + 0x38], di
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0x120]
mov byte [esp + 0x114], 2
mov eax, dword [ecx]
cmp esi, eax
jg 0x4144dc
jne 0x413d87
cmp ebp, dword [ecx + 0x10]
jge 0x4144dc
cmp esi, edi
mov ecx, dword [esp + 0x11c]
mov ecx, dword [ecx + 0xd4]
jl 0x4144dc
mov eax, dword [ecx + 0xc]
cmp esi, eax
jge 0x4144dc
lea edi, [esi + 1]
cmp edi, eax
jne 0x413dc7
cmp esi, eax
jge 0x41449f
mov eax, esi
imul eax, eax, 0x2c
add eax, dword [ecx + 8]
cmp ebp, dword [eax + 0x24]
jge 0x4144dc
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0x10], ebp
push ecx
lea edi, [esp + 0x10c]
mov dword [eax + 0x14], edx
call fcn.0042ab40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x134]
mov ebx, dword [edx + 0xd4]
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ecx
call fcn.0042a8f0
mov edi, eax
cmp dword [edi], 2
movzx eax, byte [edi + 0x2c]
mov dword [esp + 0x64], eax
je 0x4144a4
cmp dword [edi + 0x24], 0
mov dword [esp + 0x1c], 0
jle 0x413edd
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x134]
mov esi, ebp
mov dword [eax + 0x14], edx
call fcn.00417fb0
mov dword [esp + 0x1c], 1
jmp 0x413f2a
cmp dword [edi + 0x28], 0
jle 0x413f1f
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x134]
mov esi, ebp
mov dword [eax + 0x14], edx
call fcn.00417fb0
jmp 0x413f2a
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x11c]
mov ebx, dword [edi + 8]
lea esi, [esp + 0x68]
mov dword [esp + 0x20], eax
call fcn.00426b90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x118], 3
call fcn.00402de0
mov byte [esp + 0x114], 2
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x1d4]
mov ebx, dword [edi + 8]
call fcn.00427130
mov cx, word [edi + 0x10]
mov word [esp + 0x38], cx
movzx ecx, word [edi + 0xc]
test cx, cx
mov ebx, eax
movzx eax, word [edi + 0xe]
jbe 0x413fa2
movzx edx, cx
shl edx, 0x10
add eax, edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
call fcn.00402de0
mov esi, dword [edi + 8]
mov dword [esp + 0x50], esi
call fcn.004270f0
mov ecx, dword [ebp + 0x170]
mov edx, dword [esp + 0x20]
neg eax
sbb eax, eax
neg eax
cmp edx, ecx
mov dword [esp + 0x40], eax
jne 0x413ff7
cmp dword [ebp + 0x1b8], 0
je 0x413ff7
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x413ffb
mov dword [esp + 0x48], 2
mov dword [esp + 0x54], ecx
jmp 0x414025
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x174]
cmp edx, eax
jne 0x414013
test esi, esi
je 0x414013
mov dword [esp + 0x48], 3
jmp 0x414021
mov eax, dword [ebp + 0x178]
mov dword [esp + 0x48], 1
mov dword [esp + 0x54], eax
cmp dword [ebp + 0x150], 0
jne 0x414154
mov eax, dword [ebp + 0x268]
cmp eax, 4
je 0x414154
cmp eax, 5
je 0x414154
mov eax, dword [ebp + 0x260]
mov ecx, dword [ebp + 0x25c]
lea esi, [eax + 1]
cmp ecx, esi
jne 0x41405f
mov ecx, eax
mov edx, dword [edi + 0x24]
test edx, edx
jg 0x41407d
cmp dword [edi + 0x28], 0
jg 0x414079
mov dword [esp + 0x54], 0
jmp 0x414183
test edx, edx
jle 0x41408c
mov eax, edx
sub ecx, eax
jns 0x41409a
cmp edx, esi
je 0x414097
mov eax, dword [edi + 0x28]
jmp 0x41409a
mov eax, dword [edi + 0x28]
sub ecx, eax
jns 0x41409a
cmp eax, esi
jne 0x41409a
sub eax, 1
add eax, 0xffffffff
cmp eax, 0xb
ja case.default.0x4140a6
jmp dword [eax*4 + 0x41520c]
mov ebp, dword [ebp + 0x184]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x188]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x18c]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x190]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x194]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x198]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x19c]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x1a0]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x1a4]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x1a8]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x1ac]
mov dword [esp + 0x54], ebp
jmp 0x414183
mov ebp, dword [ebp + 0x1b0]
mov dword [esp + 0x54], ebp
jmp 0x414183
xor ebp, ebp
mov dword [esp + 0x54], ebp
jmp 0x414183
cmp dword [ebp + 0x15c], 0
jne 0x414183
cmp edx, ecx
jne 0x414165
test esi, esi
je 0x41417f
mov eax, dword [ebp + 0x174]
cmp edx, eax
jne 0x414179
test esi, esi
je 0x414179
mov dword [esp + 0x54], eax
jmp 0x414183
mov ecx, dword [ebp + 0x178]
mov dword [esp + 0x54], ecx
mov edi, dword [edi + 4]
imul edi, ebx
mov eax, 0x51eb851f
imul edi
mov edi, dword [esp + 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, 0x20
mov dword [esp + 0x44], eax
jne 0x414217
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4141b9
mov dword [esp + 0x40], 1
jmp 0x4141dd
lea eax, [ecx - 1]
test eax, eax
jl 0x41449f
cmp eax, ecx
jge 0x41449f
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 0x28]
mov edx, dword [eax + 8]
mov dword [esp + 0x40], edx
test ecx, ecx
mov esi, ecx
jl 0x41449f
mov eax, dword [esp + 0x2c]
add eax, 1
lea edi, [esp + 0x24]
call fcn.00416770
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [esp + 0x28]
lea esi, [esp + 0x38]
call fcn.00416ae0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x414420
mov edx, edi
call fcn.00426b10
test eax, eax
jne 0x4143e3
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
cmp esi, ebx
jne 0x414370
mov edx, esi
add esi, 0xffffffff
mov dword [esp + 0x14], edx
mov eax, esi
js 0x41427f
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*2]
shl ecx, 4
lea ecx, [ecx + edx + 8]
test eax, eax
mov edx, eax
mov dword [esp + 0x14], edx
jl 0x41449f
cmp eax, ebx
jge 0x41449f
cmp dword [ecx], 0
jne 0x414278
sub eax, 1
sub ecx, 0x30
test eax, eax
jge 0x414251
jmp 0x41427f
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
cmp edx, esi
jge 0x41435e
mov ebp, dword [esp + 0x14]
jmp 0x414290
test esi, esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jl 0x41449f
cmp esi, edx
jge 0x41449f
lea eax, [esi + esi*2]
shl eax, 4
add eax, ecx
cmp dword [eax + 4], 0x20
jne 0x41435e
test esi, esi
jl 0x41449f
cmp esi, edx
jge 0x41449f
lea eax, [esi + esi*2]
shl eax, 4
add eax, ecx
cmp dword [eax + 8], 0
jne 0x41435e
test esi, esi
jl 0x41449f
cmp esi, edx
jge 0x41449f
lea edi, [esi + esi*2]
lea eax, [esp + 0xc0]
shl edi, 4
add edi, ecx
push eax
call fcn.00416b30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x118], 4
call fcn.004165e0
push ebp
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0xc8]
call fcn.00416390
mov byte [esp + 0x114], 2
mov eax, dword [esp + 0xd4]
add eax, 0xfffffff0
add ebp, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x414290
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov esi, ecx
add edi, 0xffffffd0
cmp edi, 9
ja 0x4143ca
test ebx, ebx
jle 0x4143b1
lea eax, [ebx - 1]
test eax, eax
jl 0x41449f
cmp eax, ebx
jge 0x41449f
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esp + 0x28]
push esi
mov edx, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x40]
mov dword [esp + 0x48], edx
call fcn.00416390
jmp 0x414420
push esi
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x40]
mov dword [esp + 0x48], 1
call fcn.00416390
jmp 0x414420
push esi
lea ecx, [esp + 0x28]
push ecx
lea ebx, [esp + 0x40]
mov dword [esp + 0x48], 0
call fcn.00416390
jmp 0x414420
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x40], 1
jl 0x41449f
mov eax, esi
add eax, 1
lea edi, [esp + 0x24]
call fcn.00416770
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [esp + 0x28]
lea esi, [esp + 0x38]
call fcn.00416ae0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x88], eax
mov byte [esp + 0x114], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00440a5b
test eax, eax
jne 0x413d40
push 0x80004005
call fcn.00402a60
call fcn.0043cb4a
xor ecx, ecx
cmp dword [edi + 0x24], ecx
mov eax, 1
setg cl
mov dword [esp + 0x90], eax
mov byte [esp + 0x114], al
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov dword [esp + 0x8c], ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4144f4
lea eax, [edx - 0x10]
mov byte [esp + 0x114], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x11c]
mov ecx, dword [ebx + 0x17c]
push ecx
push 2
push 0
lea ecx, [esp + 0xb8]
call fcn.0043daca
mov edi, dword [esp + 0x124]
lea edx, [esp + 0xac]
push edx
mov ecx, edi
mov byte [esp + 0x118], 5
call fcn.0043da25
cmp dword [esp + 0x2c], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0x20], 0
jle 0x415122
call fcn.00440a5b
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
je 0x414495
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edx, [eax + 0x10]
mov dword [esp + 0x4c], edx
mov word [esp + 0x38], si
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
mov byte [esp + 0x114], 6
jl 0x41449f
cmp eax, dword [esp + 0x2c]
jge 0x41449f
mov esi, eax
lea esi, [esi + esi*2]
shl esi, 4
add esi, dword [esp + 0x28]
lea edi, [edx - 0x10]
mov eax, dword [esi + 4]
mov cx, word [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov word [esp + 0x38], cx
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x10]
lea ebp, [eax - 0x10]
cmp ebp, edi
mov dword [esp + 0x48], ecx
je 0x414699
cmp dword [edi + 0xc], 0
jl 0x414687
mov ecx, dword [ebp]
cmp ecx, dword [edi]
jne 0x414687
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x414623
cmp eax, dword [ebp]
jne 0x414623
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41465e
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4151fb
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00467f95
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414677
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea edx, [ebx + 0x10]
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0x4c], edx
jmp 0x414699
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.00402e60
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x64], eax
lea eax, [edx - 0x10]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x28]
add edi, 0xfffffff0
cmp eax, edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
je 0x41477d
cmp dword [edi + 0xc], 0
jl 0x41476f
mov ebp, eax
mov ecx, dword [ebp]
cmp ecx, dword [edi]
jne 0x41476f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x414712
cmp eax, dword [ebp]
jne 0x414712
mov esi, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41474d
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4151fb
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00467f95
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414766
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x18], esi
jmp 0x41477d
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00402e60
mov ecx, dword [0x4a6268]
mov esi, dword [ebx + 0x1d4]
xor eax, eax
test ecx, ecx
jle 0x4147b9
mov edi, dword [0x4a6264]
mov ebp, dword [esp + 0x50]
mov edx, edi
test eax, eax
jl 0x41449f
cmp eax, ecx
jge 0x41449f
cmp ebp, dword [edx]
je 0x41480b
add eax, 1
add edx, 0x40
cmp eax, ecx
jl 0x41479b
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x48]
cmp eax, 2
jne 0x4149f4
mov ecx, dword [ebx + 0x244]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x414495
mov esi, dword [esp + 0x18]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41482e
test dx, dx
je 0x414807
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41482e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4147e5
xor eax, eax
jmp 0x414833
shl eax, 6
mov ecx, dword [eax + edi + 0x3c]
add eax, edi
imul ecx, esi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
jmp 0x4147bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x414f98
mov edi, dword [ebx + 0x244]
lea eax, [esi - 0x10]
lea esi, [ebx + 0x244]
sub edi, 0x10
cmp eax, edi
je 0x4148a4
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x414894
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x414894
push eax
call fcn.00402be0
add esp, 4
mov dword [esp + 0x1c], eax
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x414889
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esi], eax
jmp 0x4148a4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00402e60
mov ecx, dword [ebx + 0x248]
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
xor ebp, ebp
cmp dword [eax + 4], ebp
je 0x4148fe
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x4148d6
cmp dword [ecx - 8], ebp
jl 0x415200
mov dword [ecx - 0xc], ebp
mov ecx, dword [ebx + 0x248]
mov word [ecx], bp
jmp 0x4148fe
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4148ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x248], eax
mov ecx, dword [ebx + 0x240]
cmp dword [ecx - 0xc], ebp
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x414956
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x41492e
cmp dword [ecx - 8], ebp
jl 0x415200
mov dword [ecx - 0xc], ebp
mov ecx, dword [ebx + 0x240]
mov word [ecx], bp
jmp 0x414956
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414944
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x240], eax
mov esi, dword [esp + 0x124]
mov edx, dword [esi]
mov eax, dword [ebx + 0x230]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x234]
call fcn.0043d97f
mov ecx, dword [ebx + 0x234]
cmp ecx, ebp
je 0x41498b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 8
call fcn.004307fb
add esp, 4
cmp eax, ebp
je 0x4149a6
mov dword [eax + 4], ebp
mov dword [eax], vtable.CFont.0
mov edi, eax
jmp 0x4149a8
xor edi, edi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, dword [esp + 0x1c]
push ebp
push 0x10
push ebp
push 1
push ebp
push 1
push ebp
push 0x190
push ebp
push ebp
push ebp
push ecx
mov dword [ebx + 0x234], edi
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, edi
call fcn.0043d92c
mov edx, dword [esi]
mov eax, dword [ebx + 0x234]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x230], eax
jmp 0x414f9f
cmp eax, 3
jne 0x414d95
mov ecx, dword [ebx + 0x248]
xor eax, eax
cmp dword [esp + 0x3c], 0x20
je 0x414be2
test ecx, ecx
setne al
test eax, eax
je 0x414495
mov ebp, dword [esp + 0x18]
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414a49
test dx, dx
je 0x414a45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414a49
add eax, 4
add ecx, 4
test dx, dx
jne 0x414a23
xor eax, eax
jmp 0x414a4e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x414f98
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 0x248]
call fcn.00402de0
mov ecx, dword [ebx + 0x244]
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
xor edi, edi
cmp dword [eax + 4], edi
je 0x414ac5
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x414a9d
cmp dword [ecx - 8], edi
jl 0x415200
mov dword [ecx - 0xc], edi
mov ecx, dword [ebx + 0x244]
mov word [ecx], di
jmp 0x414ac5
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414ab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x244], eax
mov ecx, dword [ebx + 0x240]
cmp dword [ecx - 0xc], edi
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x414b1d
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x414af5
cmp dword [ecx - 8], edi
jl 0x415200
mov dword [ecx - 0xc], edi
mov ecx, dword [ebx + 0x240]
mov word [ecx], di
jmp 0x414b1d
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414b0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x240], eax
mov esi, dword [esp + 0x124]
mov edx, dword [esi]
mov eax, dword [ebx + 0x230]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x238]
call fcn.0043d97f
mov ecx, dword [ebx + 0x238]
cmp ecx, edi
je 0x414b52
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 8
call fcn.004307fb
add esp, 4
cmp eax, edi
je 0x414b71
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
mov edi, eax
jmp 0x414b73
xor edi, edi
cmp dword [ebx + 0x150], 0
push ebp
push 0
push 0
push 0x10
push 0
push 1
mov dword [ebx + 0x238], edi
push 0
je 0x414ba5
mov eax, dword [esp + 0x30]
push 0
push 0
push 0x190
push 0
push 0
push 0
push eax
jmp 0x414bb9
mov ecx, dword [esp + 0x30]
push 1
push 0
push 0x190
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, edi
call fcn.0043d92c
mov edx, dword [esi]
mov eax, dword [ebx + 0x238]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x230], eax
jmp 0x414f9f
test ecx, ecx
setne al
test eax, eax
je 0x414495
mov ebp, dword [esp + 0x18]
mov eax, ebp
xor edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414c1d
cmp dx, di
je 0x414c19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414c1d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x414bf7
xor eax, eax
jmp 0x414c22
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
setne al
test al, al
je 0x414f98
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 0x248]
call fcn.00402de0
mov ecx, dword [ebx + 0x244]
cmp dword [ecx - 0xc], edi
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x414c97
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x414c6f
cmp dword [ecx - 8], edi
jl 0x415200
mov dword [ecx - 0xc], edi
mov ecx, dword [ebx + 0x244]
mov word [ecx], di
jmp 0x414c97
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414c85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x244], eax
mov ecx, dword [ebx + 0x240]
cmp dword [ecx - 0xc], edi
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x414cef
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x414cc7
cmp dword [ecx - 8], edi
jl 0x415200
mov dword [ecx - 0xc], edi
mov ecx, dword [ebx + 0x240]
mov word [ecx], di
jmp 0x414cef
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x240], eax
mov esi, dword [esp + 0x124]
mov edx, dword [esi]
mov eax, dword [ebx + 0x230]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x23c]
call fcn.0043d97f
mov ecx, dword [ebx + 0x23c]
cmp ecx, edi
je 0x414d24
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 8
call fcn.004307fb
add esp, 4
cmp eax, edi
je 0x414d43
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
mov edi, eax
jmp 0x414d45
xor edi, edi
push ebp
push 0
mov eax, dword [esp + 0x1c]
push 0
push 0x10
push 0
push 1
push 1
push 0
push 0
push 0x190
push 0
push 0
push 0
push eax
mov dword [ebx + 0x23c], edi
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, edi
call fcn.0043d92c
mov edx, dword [esi]
mov eax, dword [ebx + 0x23c]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x230], eax
jmp 0x414f9f
mov ecx, dword [ebx + 0x240]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x414495
mov esi, dword [esp + 0x18]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414dd6
test dx, dx
je 0x414dd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414dd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x414db0
xor eax, eax
jmp 0x414ddb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x414f98
mov edi, dword [ebx + 0x240]
lea eax, [esi - 0x10]
lea esi, [ebx + 0x240]
sub edi, 0x10
cmp eax, edi
je 0x414e4c
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x414e3c
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x414e3c
push eax
call fcn.00402be0
add esp, 4
mov dword [esp + 0x1c], eax
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x414e31
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esi], eax
jmp 0x414e4c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00402e60
mov ecx, dword [ebx + 0x248]
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
xor ebp, ebp
cmp dword [eax + 4], ebp
je 0x414ea6
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x414e7e
cmp dword [ecx - 8], ebp
jl 0x415200
mov dword [ecx - 0xc], ebp
mov ecx, dword [ebx + 0x248]
mov word [ecx], bp
jmp 0x414ea6
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x248], eax
mov ecx, dword [ebx + 0x244]
cmp dword [ecx - 0xc], ebp
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x414efe
cmp dword [eax + 0xc], ebp
lea edx, [eax + 0xc]
jge 0x414ed6
cmp dword [ecx - 8], ebp
jl 0x415200
mov dword [ecx - 0xc], ebp
mov ecx, dword [ebx + 0x244]
mov word [ecx], bp
jmp 0x414efe
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414eec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x244], eax
mov esi, dword [esp + 0x124]
mov edx, dword [esi]
mov eax, dword [ebx + 0x230]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x22c]
call fcn.0043d97f
mov ecx, dword [ebx + 0x22c]
cmp ecx, ebp
je 0x414f33
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
push 8
call fcn.004307fb
add esp, 4
cmp eax, ebp
je 0x414f4e
mov dword [eax + 4], ebp
mov dword [eax], vtable.CFont.0
mov edi, eax
jmp 0x414f50
xor edi, edi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, dword [esp + 0x1c]
push ebp
push 0x10
push ebp
push 1
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push ecx
mov dword [ebx + 0x22c], edi
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, edi
call fcn.0043d92c
mov edx, dword [esi]
mov eax, dword [ebx + 0x22c]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x230], eax
jmp 0x414f9f
mov esi, dword [esp + 0x124]
mov ecx, dword [esp + 0x54]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
sub dword [esp + 0x6c], eax
cmp word [esp + 0x38], 0
jbe 0x4150e1
call fcn.00440a5b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x414495
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x114], 7
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
lea edi, [esi + 1]
sub eax, edi
or eax, ecx
jge 0x415012
push edi
lea ecx, [esp + 0x20]
call fcn.00402ab0
mov ebp, dword [esp + 0x1c]
test edi, edi
mov cx, word [esp + 0x38]
mov word [ebp + esi*2], cx
jl 0x415200
cmp edi, dword [ebp - 8]
jg 0x415200
mov esi, dword [esp + 0x124]
mov eax, dword [esp + 0x12c]
push 0
push 1
push ebp
push 0
mov dword [ebp - 0xc], edi
push 0x10
mov word [ebp + edi*2], 0
mov edx, dword [esi]
mov edi, dword [esp + 0x80]
mov edx, dword [edx + 0x60]
push eax
push edi
mov ecx, esi
call edx
cmp dword [esp + 0x64], 0
je 0x4150bc
mov eax, dword [ebx + 0x1e0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebx + 0x20c]
lea ecx, [esp + 0xb8]
add eax, dword [esp + 0x12c]
push eax
lea eax, [edi - 1]
push eax
push ecx
mov ecx, esi
call fcn.0043d36e
mov eax, dword [ebx + 0x1e0]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add eax, dword [ebx + 0x20c]
mov ecx, esi
add eax, dword [esp + 0x12c]
push eax
lea eax, [edx + edi + 1]
push eax
call fcn.0043ce89
add ebp, 0xfffffff0
mov byte [esp + 0x114], 6
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150e1
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x114], 5
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jl 0x414556
mov edi, dword [esp + 0x124]
mov ecx, dword [esp + 0xb4]
push ecx
mov ecx, edi
call fcn.0043da25
mov edx, dword [edi]
mov eax, dword [esp + 0x70]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x90], 0
je 0x41517d
cmp dword [ebx + 0x158], 0
je 0x41517d
cmp dword [ebx + 0x21c], 0
jne 0x41517d
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x6c]
push eax
add ecx, 2
push ecx
add edx, 0xfffffff0
push edx
mov ecx, ebx
call fcn.00419b40
mov byte [esp + 0x114], 1
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], vtable.CPen.0
call fcn.00403060
lea esi, [esp + 0x24]
mov byte [esp + 0x114], 0
call fcn.00416670
mov dword [esp + 0x114], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4151d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 0x2c
call fcn.004026d0
push 0x80070057
call fcn.00402a60
mov edi, edi
lodsd eax, dword [esi]
inc eax
inc ecx
add byte [eax + eax*2 + 0x40cb0041], bh
inc ecx
add dl, bl
inc eax
inc ecx
add cl, ch
inc eax
inc ecx
add al, bh
inc eax
inc ecx
add byte [ecx + eax*2], al
inc ecx
add byte [eax], dl
inc ecx
inc ecx
add byte [ecx + eax*2], bl
inc ecx
add byte [eax], ch
inc ecx
inc ecx
add byte [ecx + eax*2], dh
inc ecx
add byte [eax + 0x41], al
inc ecx
add ah, cl
int3