Function at 0x424c90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506d93
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 4], esi
xor edi, edi
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x94], edi
cmp eax, esi
jne 0x424ce1
xor ecx, ecx
jmp 0x424ce4
mov ecx, dword [eax + 0x10]
cmp edi, ecx
jge 0x424dd0
mov edx, dword [ebx + 0x5c]
cmp edx, esi
jne 0x424cf7
xor eax, eax
jmp 0x424d0c
cmp eax, esi
je 0x424d00
mov ecx, dword [eax + 0xc]
jmp 0x424d02
xor ecx, ecx
mov eax, dword [ebx + 0x60]
add eax, edi
imul eax, ecx
add eax, edx
mov dword [eax + 4], 3
mov eax, dword [ebx + 0x50]
cmp eax, esi
je 0x424d32
mov ecx, dword [ebx + 0x58]
cmp ecx, esi
je 0x424d26
mov ecx, dword [ecx + 0xc]
jmp 0x424d28
xor ecx, ecx
mov esi, dword [ebx + 0x54]
add esi, edi
imul esi, ecx
add esi, eax
cmp dword [esi + 4], 0
je 0x424dc2
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [0x552adc]
mov eax, dword [ecx]
mov ebx, dword [esi + 0x20]
mov esi, dword [esi + 4]
test eax, eax
je 0x424dc2
mov edx, dword [ecx + 8]
test edx, edx
je 0x424d64
mov edx, dword [edx + 0xc]
jmp 0x424d66
xor edx, edx
mov edi, dword [ecx + 4]
imul edi, edx
push str.SurfaceClear
lea ecx, [ebp - 0x90]
add edi, eax
call fcn.0040e5a0
mov eax, dword [ebp - 0x90]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424db3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebx
push esi
call edi
mov edi, dword [ebp - 0x94]
add esp, 0xc
mov ebx, dword [ebp - 0x98]
inc edi
xor esi, esi
jmp 0x424cd0
push 0x51787c
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x6c], 0xfffffff0
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0x12c
mov dword [ebp - 0x58], 0x80000000
mov dword [ebp - 0x54], 0x30020000
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x552a54]
push 0x20
push edx
lea eax, [ebp - 0x50]
or edi, 0xffffffff
push eax
mov word [ebp - 0x30], 0x1400
mov byte [ebp - 0x2e], 0
mov dword [ebp - 0x2c], 0xffffff
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov word [ebp - 0x18], 0
mov dword [ebp - 0x6c], 0xffffffe4
mov dword [ebp - 0x5c], 0x2bc
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 0x2e], 2
cmp dword [ebx + 0x6c], esi
jne 0x424ec7
mov ecx, 0x553818
call fcn.004175a0
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x424ebb
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x424ebb
mov edx, dword [eax + 0x14]
test edx, edx
je 0x424ea6
mov edx, dword [edx + 0xc]
mov eax, dword [eax + 0x10]
imul eax, edx
mov edx, dword [eax + ecx + 0x54]
add eax, ecx
mov dword [ebp - 0x2c], edx
xor esi, esi
jmp 0x424eed
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
mov edx, dword [eax + ecx + 0x54]
add eax, ecx
mov dword [ebp - 0x2c], edx
xor esi, esi
jmp 0x424eed
xor eax, eax
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x2c], edx
xor esi, esi
jmp 0x424eed
mov edx, dword [ebx + 0x6c]
cmp edx, esi
jne 0x424ed2
xor eax, eax
jmp 0x424ee8
mov eax, dword [ebx + 0x74]
cmp eax, esi
je 0x424ede
mov ecx, dword [eax + 0xc]
jmp 0x424ee0
xor ecx, ecx
mov eax, dword [ebx + 0x70]
imul eax, ecx
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x84], esi
je 0x424f34
mov edx, dword [ebx + 0x84]
cmp edx, esi
je 0x424f2b
mov eax, dword [ebx + 0x8c]
cmp eax, esi
je 0x424f1e
mov ecx, dword [eax + 0xc]
jmp 0x424f20
xor ecx, ecx
mov eax, dword [ebx + 0x88]
imul eax, ecx
add eax, edx
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x18], 2
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov edi, 0x5452c8
xor esi, esi
mov ecx, edi
mov word [ebp - 0x30], 0
mov byte [ebp - 0x17], 0
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], esi
call eax
mov ebx, 1
mov dword [ebp - 0xac], ebx
mov eax, dword [0x552af0]
mov byte [ebp - 4], bl
cmp eax, esi
jne 0x424fa9
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 2
cmp eax, esi
je 0x424fa2
mov ecx, eax
call fcn.00415650
jmp 0x424fa4
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 0
lea ecx, [ecx]
cmp esi, ebx
jge 0x424fc5
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov eax, dword [0x552af0]
inc esi
jmp 0x424fb0
mov edx, dword [eax]
test edx, edx
jne 0x424fcf
xor eax, eax
jmp 0x424fe5
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x424fdb
mov ecx, dword [ecx + 0xc]
jmp 0x424fdd
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x424ff0
xor eax, eax
jmp 0x425006
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x424ffc
mov ecx, dword [ecx + 0xc]
jmp 0x424ffe
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 4]
test edx, edx
jne 0x425011
xor eax, eax
jmp 0x425027
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42501d
mov ecx, dword [ecx + 0xc]
jmp 0x42501f
xor ecx, ecx
mov eax, dword [eax + 8]
imul eax, ecx
add eax, edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
fstp dword [ebp - 0xa0]
fld dword [0x51838c]
fcomp dword [ebp - 0xa0]
fnstsw ax
test ah, 0x41
jne 0x425062
mov ecx, 0x5537a9
call fcn.004047e0
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [0x552adc]
call fcn.0040f380
xor esi, esi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x44], 0xffffffff
mov byte [eax + 0x4c], 0
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov edi, 0x5452c8
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], esi
call eax
mov ebx, 1
mov dword [ebp - 0xac], ebx
mov byte [ebp - 4], 4
cmp dword [0x552af0], esi
jne 0x425118
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 5
cmp eax, esi
je 0x425111
mov ecx, eax
call fcn.00415650
jmp 0x425113
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
xor esi, esi
mov edi, edi
cmp esi, ebx
jge 0x425130
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
inc esi
jmp 0x425120
mov ecx, dword [0x552af0]
call fcn.00477bc0
mov edi, dword [eax + 0x78]
sub edi, dword [eax + 0x74]
mov ebx, dword [ebp - 0x98]
sar edi, 2
xor esi, esi
mov dword [ebp - 0xa4], edi
mov dword [ebx + 0x30], esi
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x425160
xor ecx, ecx
jmp 0x425163
mov ecx, dword [eax + 0x10]
cmp esi, ecx
jge 0x42518f
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x425172
xor eax, eax
jmp 0x425187
test eax, eax
je 0x42517b
mov ecx, dword [eax + 0xc]
jmp 0x42517d
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, esi
imul eax, ecx
add eax, edx
cmp dword [eax + 0xc], edi
jne 0x42520a
mov dword [ebx + 0x30], esi
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa0], ebx
cmp ebx, edi
jge 0x425c11
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0xf8], vtable.CCriticalLock.0
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], 0
call eax
mov edi, 1
mov dword [ebp - 0xf0], edi
cmp dword [0x552af0], 0
mov byte [ebp - 4], 6
jne 0x425217
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x425210
mov ecx, eax
call fcn.00415650
jmp 0x425212
inc esi
jmp 0x425155
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xf8], vtable.CCriticalLock.0
xor esi, esi
cmp esi, edi
jge 0x42523b
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
inc esi
jmp 0x425227
mov ecx, dword [0x552af0]
call fcn.00477bc0
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
je 0x425bff
lea ecx, [ebp - 0xdc]
call fcn.00405480
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ebx, 0x5452c8
mov ecx, ebx
mov dword [ebp - method.CCriticalLock.virtual_0], vtable.CCriticalLock.0
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], 0
call eax
mov edi, 1
mov dword [ebp - 0x108], edi
mov eax, dword [0x552af0]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4252d4
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4252cd
mov ecx, eax
call fcn.00415650
jmp 0x4252cf
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
mov dword [ebp - method.CCriticalLock.virtual_0], vtable.CCriticalLock.0
xor esi, esi
cmp esi, edi
jge 0x4252f9
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov eax, dword [0x552af0]
inc esi
jmp 0x4252e4
mov edx, dword [eax]
test edx, edx
jne 0x425303
xor eax, eax
jmp 0x425319
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42530f
mov ecx, dword [ecx + 0xc]
jmp 0x425311
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x425324
xor eax, eax
jmp 0x42533a
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x425330
mov ecx, dword [ecx + 0xc]
jmp 0x425332
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 4]
test edx, edx
jne 0x425345
xor eax, eax
jmp 0x42535b
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x425351
mov ecx, dword [ecx + 0xc]
jmp 0x425353
xor ecx, ecx
mov eax, dword [eax + 8]
imul eax, ecx
add eax, edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
fstp dword [ebp - 0x9c]
fld dword [0x51838c]
mov edx, dword [vtable.CCriticalSection.0]
fcomp dword [ebp - 0x9c]
mov ebx, 0x5452c8
xor esi, esi
mov ecx, ebx
fnstsw ax
test ah, 0x41
mov eax, dword [edx]
jp 0x42560c
mov dword [ebp - method.CCriticalLock.virtual_0], vtable.CCriticalLock.0
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], esi
call eax
mov edi, 1
mov dword [ebp - 0x114], edi
mov eax, dword [0x552af0]
mov byte [ebp - 4], 0xa
cmp eax, esi
jne 0x4253ed
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x4253e6
mov ecx, eax
call fcn.00415650
jmp 0x4253e8
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
mov dword [ebp - method.CCriticalLock.virtual_0], vtable.CCriticalLock.0
jmp 0x425400
cmp esi, edi
jge 0x425415
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov eax, dword [0x552af0]
inc esi
jmp 0x425400
mov edx, dword [eax]
test edx, edx
jne 0x42541f
xor eax, eax
jmp 0x425435
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42542b
mov ecx, dword [ecx + 0xc]
jmp 0x42542d
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x425440
xor eax, eax
jmp 0x425456
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x42544c
mov ecx, dword [ecx + 0xc]
jmp 0x42544e
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [ebp - 0x90]
push 0
lea ecx, [ebp - 0xdc]
push ecx
push edx
mov ecx, eax
call fcn.00422ca0
test eax, eax
jns 0x42548c
push 0x533160
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0xfc], 1
call fcn.004f4775
mov ecx, dword [ebp - 0x98]
push eax
call fcn.004196c0
mov ecx, 0x5537a9
mov dword [ebp - 0x2c], eax
call fcn.004047e0
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [0x552adc]
call fcn.0040f380
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
jne 0x4254c2
xor eax, eax
jmp 0x4254dc
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4254d1
mov eax, dword [eax + 0xc]
jmp 0x4254d3
xor eax, eax
imul eax, dword [ebp - 0xc0]
add eax, ecx
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call edx
mov ebx, dword [eax]
mov ecx, 0x5537a9
mov byte [ebp - 4], 0xc
call fcn.004047e0
mov ecx, dword [0x552adc]
mov edx, dword [ecx]
xor al, al
test edx, edx
je 0x4255be
mov eax, dword [ecx + 8]
test eax, eax
je 0x42551a
mov eax, dword [eax + 0xc]
jmp 0x42551c
xor eax, eax
mov esi, dword [ecx + 4]
imul esi, eax
mov eax, dword [0x5515b0]
add esi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [ebp - 0x90], eax
mov eax, str.TextInitialize
mov byte [ebp - 4], 0xd
test eax, 0xffff0000
jne 0x42556f
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x425581
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.00404950
jmp 0x425581
push 0xe
push str.TextInitialize
lea ecx, [ebp - 0x90]
call fcn.004048b0
mov edi, dword [ebp - 0x90]
mov edx, dword [esi + 4]
push edi
push edx
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4255b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push ebx
call esi
add esp, 0xc
test al, al
mov eax, dword [ebp - 0xe8]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4255e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x425871
push 0x533160
lea ecx, [ebp - 0xe4]
push ecx
mov dword [ebp - 0xe4], 1
call fcn.004f4775
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], esi
call eax
mov edi, 1
mov dword [ebp - 0xac], edi
mov eax, dword [0x552af0]
mov byte [ebp - 4], 0xe
cmp eax, esi
jne 0x425667
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xf
cmp eax, esi
je 0x425660
mov ecx, eax
call fcn.00415650
jmp 0x425662
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xb4], vtable.CCriticalLock.0
cmp esi, edi
jge 0x42568a
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov eax, dword [0x552af0]
inc esi
jmp 0x425675
mov edx, dword [eax]
test edx, edx
jne 0x425694
xor eax, eax
jmp 0x4256aa
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4256a0
mov ecx, dword [ecx + 0xc]
jmp 0x4256a2
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4256b5
xor eax, eax
jmp 0x4256cb
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4256c1
mov ecx, dword [ecx + 0xc]
jmp 0x4256c3
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [ebp - 0x90]
push 0
push 0
lea ecx, [ebp - 0xdc]
push ecx
push edx
mov ecx, eax
call fcn.004229e0
test eax, eax
jns 0x425703
push 0x533160
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], 1
call fcn.004f4775
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
jne 0x425728
push 0x533160
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 1
call fcn.004f4775
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x425737
mov eax, dword [eax + 0xc]
jmp 0x425739
xor eax, eax
mov edx, dword [ebp - 0xd8]
imul edx, eax
mov eax, dword [ecx + edx]
mov eax, dword [eax + 4]
add ecx, edx
lea edx, [ebp - 0x104]
push edx
call eax
mov ebx, dword [eax]
mov ecx, 0x5537a9
mov byte [ebp - 4], 0x10
call fcn.004047e0
mov ecx, dword [0x552adc]
mov edx, dword [ecx]
xor al, al
test edx, edx
je 0x425827
mov eax, dword [ecx + 8]
test eax, eax
je 0x425781
mov eax, dword [eax + 0xc]
jmp 0x425783
xor eax, eax
mov esi, dword [ecx + 4]
imul esi, eax
add esi, edx
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov ecx, str.TextInitialize
mov byte [ebp - 4], 0x11
test ecx, 0xffff0000
jne 0x4257d8
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x4257ea
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.00404950
jmp 0x4257ea
push 0xe
push str.TextInitialize
lea ecx, [ebp - 0x90]
call fcn.004048b0
mov edi, dword [ebp - 0x90]
mov eax, dword [esi + 4]
push edi
push eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42581d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push ebx
call esi
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x104]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x425871
push 0x533160
lea ecx, [ebp - 0x100]
push ecx
mov dword [ebp - 0x100], 1
call fcn.004f4775
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
lea ecx, [ecx]
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x42588b
xor eax, eax
jmp 0x4258a4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x425897
mov ecx, dword [eax + 0xc]
jmp 0x425899
xor ecx, ecx
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x30]
imul eax, ecx
add eax, edx
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4258ae
mov eax, dword [eax + 0x10]
cmp edi, eax
jge 0x425907
test edx, edx
jne 0x4258ba
xor eax, eax
jmp 0x4258d3
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4258c6
mov ecx, dword [eax + 0xc]
jmp 0x4258c8
xor ecx, ecx
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x30]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x4258de
xor eax, eax
jmp 0x4258f6
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4258ea
mov ecx, dword [ecx + 0xc]
jmp 0x4258ec
xor ecx, ecx
mov eax, dword [eax + 0x14]
add eax, edi
imul eax, ecx
add eax, edx
cmp byte [eax], 0
jne 0x425907
inc edi
mov dword [ebp - 0x94], edi
jmp 0x425880
mov edx, dword [esi + 0x50]
test edx, edx
jne 0x425912
xor ecx, ecx
jmp 0x42592a
mov eax, dword [esi + 0x58]
test eax, eax
je 0x42591e
mov eax, dword [eax + 0xc]
jmp 0x425920
xor eax, eax
mov ecx, dword [esi + 0x54]
add ecx, edi
imul ecx, eax
add ecx, edx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cdq
sub eax, edx
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov ecx, 0x5537a9
sar esi, 1
sar edi, 1
call fcn.004047e0
mov ecx, dword [0x552adc]
lea edx, [ebp - 0x8c]
push edx
call fcn.0040f680
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
mov ecx, 0x5537a9
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov ebx, esi
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov dword [ebp - 0x9c], edi
call fcn.004047e0
mov ecx, dword [0x552adc]
mov edx, dword [ecx]
test edx, edx
je 0x425a58
mov eax, dword [ecx + 8]
test eax, eax
je 0x4259af
mov eax, dword [eax + 0xc]
jmp 0x4259b1
xor eax, eax
mov esi, dword [ecx + 4]
imul esi, eax
add esi, edx
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov ecx, str.SetTextBasePos
mov byte [ebp - 4], 0x12
test ecx, 0xffff0000
jne 0x425a06
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x425a18
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.00404950
jmp 0x425a18
push 0xe
push str.SetTextBasePos
lea ecx, [ebp - 0x90]
call fcn.004048b0
mov edi, dword [ebp - 0x90]
mov eax, dword [esi + 4]
push edi
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x9c]
push ecx
push ebx
call esi
add esp, 8
xor ebx, ebx
lea ebx, [ebx]
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [0x552adc]
mov edx, dword [ecx]
test edx, edx
je 0x425bc1
mov eax, dword [ecx + 8]
test eax, eax
je 0x425a86
mov eax, dword [eax + 0xc]
jmp 0x425a88
xor eax, eax
mov esi, dword [ecx + 4]
imul esi, eax
add esi, edx
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov ecx, str.GetTextLength
mov byte [ebp - 4], 0x13
test ecx, 0xffff0000
jne 0x425add
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x425aef
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.00404950
jmp 0x425aef
push 0xd
push str.GetTextLength
lea ecx, [ebp - 0x90]
call fcn.004048b0
mov edi, dword [ebp - 0x90]
mov eax, dword [esi + 4]
push edi
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call esi
cmp ebx, eax
jae 0x425bc1
mov ecx, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00406cf0
mov edi, dword [eax + 4]
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [0x552adc]
mov edx, dword [ecx]
test edx, edx
je 0x425bbb
mov eax, dword [ecx + 8]
test eax, eax
je 0x425b63
mov eax, dword [eax + 0xc]
jmp 0x425b65
xor eax, eax
mov esi, dword [ecx + 4]
imul esi, eax
push str.TextBlt
lea ecx, [ebp - 0xb8]
add esi, edx
call fcn.0040e5a0
mov edx, dword [ebp - 0xb8]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebx
push edi
call esi
add esp, 0xc
inc ebx
jmp 0x425a60
mov esi, dword [ebp - 0x98]
mov edx, dword [esi + 0x5c]
test edx, edx
jne 0x425bd2
xor eax, eax
jmp 0x425bee
mov eax, dword [esi + 0x64]
test eax, eax
je 0x425bde
mov ecx, dword [eax + 0xc]
jmp 0x425be0
xor ecx, ecx
mov eax, dword [esi + 0x60]
add eax, dword [ebp - 0x94]
imul eax, ecx
add eax, edx
mov ebx, dword [ebp - 0xa0]
mov dword [eax + 4], 0
mov byte [eax + 0x20], 0
mov edi, dword [ebp - 0xa4]
inc ebx
inc dword [ebp - 0x94]
jmp 0x425197
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0
call fcn.00466860
mov edi, dword [ebp - 0x98]
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, edi
call fcn.004195a0
mov esi, dword [edi + 0x24]
test esi, esi
jne 0x425c3f
xor eax, eax
jmp 0x425c58
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x425c4b
mov ecx, dword [eax + 0xc]
jmp 0x425c4d
xor ecx, ecx
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x30]
imul eax, ecx
add eax, esi
mov edx, dword [eax]
test edx, edx
jne 0x425c62
xor eax, eax
jmp 0x425c78
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x425c6e
mov ecx, dword [ecx + 0xc]
jmp 0x425c70
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
cmp byte [eax + 0x24], 0
je 0x425c94
mov edx, dword [eax + 0x28]
cmp edx, dword [ebp - 0xa8]
jne 0x425c94
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0xa4]
je 0x425cea
test esi, esi
jne 0x425c9c
xor eax, eax
jmp 0x425cb5
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x425ca8
mov ecx, dword [eax + 0xc]
jmp 0x425caa
xor ecx, ecx
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x30]
imul eax, ecx
add eax, esi
mov edx, dword [eax]
test edx, edx
jne 0x425cbf
xor eax, eax
jmp 0x425cd5
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x425ccb
mov ecx, dword [ecx + 0xc]
jmp 0x425ccd
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
push ecx
push edx
mov ecx, eax
call fcn.00410f20
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [edi + 0x14]
push edx
call eax
mov ecx, 0x553818
call fcn.004175a0
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x425d4d
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x425d4d
mov edx, dword [eax + 0x14]
test edx, edx
je 0x425d41
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x425d4f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x425d4f
xor eax, eax
mov dl, byte [eax + 0x50]
mov ecx, 0x553818
mov byte [edi + 0x68], dl
call fcn.004175a0
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x425daa
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x425daa
mov edx, dword [eax + 0x14]
test edx, edx
je 0x425d9e
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x425dac
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x425dac
xor eax, eax
mov cl, byte [eax + 0x51]
mov byte [edi + 0x69], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret