Function at 0x43f170
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50802b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 1
mov esi, 0x24
xor edi, edi
jmp 0x43f1b0
mov ecx, dword [esi + 0x545e88]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], edi
cmp ecx, edi
je 0x43f205
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x43f1dd
mov eax, dword [eax + 0xc]
jmp 0x43f1df
xor eax, eax
imul eax, dword [ebp - 0x38]
mov edx, dword [ecx + eax]
mov edx, dword [edx + 0x44]
add ecx, eax
mov eax, dword [ebx + 0xd4]
inc eax
mov dword [ebp - 0x20], ebx
xor ebx, ebx
cmp dword [ebp - 0x1c], eax
sete bl
push ebx
call edx
mov ebx, dword [ebp - 0x20]
xor edi, edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x43f23f
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jne 0x43f239
cmp byte [ecx + 8], 0
je 0x43f229
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
je 0x43f239
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], edi
inc dword [ebp - 0x1c]
add esi, 0x24
cmp esi, 0xd8
jb 0x43f1b0
mov eax, dword [ebx + 0xd4]
add eax, eax
add eax, eax
lea edi, [eax*4 + 0x546010]
xor esi, esi
jmp 0x43f270
mov ecx, dword [esi + 0x545f60]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x43f2b4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43f2a1
mov eax, dword [eax + 0xc]
jmp 0x43f2a3
xor eax, eax
imul eax, dword [ebp - 0x38]
mov edx, dword [ecx + eax]
mov edx, dword [edx + 0x44]
add ecx, eax
mov eax, dword [edi]
push eax
call edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43f2f7
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x43f2e9
cmp byte [ecx + 8], 0
je 0x43f2d9
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x43f2e9
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
add esi, 0x2c
add edi, 4
cmp esi, 0xb0
jb 0x43f270
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
jne 0x43f317
xor esi, esi
jmp 0x43f333
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x43f326
mov eax, dword [eax + 0xc]
jmp 0x43f328
xor eax, eax
mov esi, dword [ebx + 0xb8]
imul esi, eax
add esi, ecx
cmp dword [esi + 4], 0
je 0x43f414
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x552adc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
test eax, eax
je 0x43f414
mov edx, dword [ecx + 8]
test edx, edx
je 0x43f36f
mov edx, dword [edx + 0xc]
jmp 0x43f371
xor edx, edx
mov esi, dword [ecx + 4]
imul esi, edx
mov edx, dword [0x5515b0]
add esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, str.SurfaceClear
mov dword [ebp - 4], 2
test ecx, 0xffff0000
jne 0x43f3c3
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x43f3d2
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404950
jmp 0x43f3d2
push 0xc
push str.SurfaceClear
lea ecx, [ebp - 0x1c]
call fcn.004048b0
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
push edi
push eax
mov dword [ebp - 4], 0xffffffff
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 0x43f405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push 0
push ecx
push edx
call esi
add esp, 0xc
mov ecx, dword [ebx + 0xd8]
test ecx, ecx
js 0x43f871
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebx + 0xc0]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x43f449
xor edx, edx
jmp 0x43f45f
mov edx, dword [eax + 8]
test edx, edx
je 0x43f455
mov esi, dword [edx + 0xc]
jmp 0x43f457
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [ebx + 0xb4]
test esi, esi
jne 0x43f46d
xor eax, eax
jmp 0x43f489
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x43f47c
mov ecx, dword [eax + 0xc]
jmp 0x43f47e
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [0x546144]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x546140]
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x43f535
mov edx, dword [edx + 4]
mov dword [ebp - 0x14], edx
test edx, edx
je 0x43f535
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43f535
mov edx, dword [eax + 8]
test edx, edx
je 0x43f4d5
mov edx, dword [edx + 0xc]
jmp 0x43f4d7
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
add esi, ecx
push str.SurfaceBlt
lea ecx, [ebp - 0x20]
call fcn.0040e5a0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f51b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
push edi
call esi
add esp, 0x20
mov eax, dword [ebx + 0xd8]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ecx, ecx
jne 0x43f56b
xor edx, edx
jmp 0x43f581
mov edx, dword [eax + 8]
test edx, edx
je 0x43f577
mov esi, dword [edx + 0xc]
jmp 0x43f579
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [ebx + 0xb4]
test esi, esi
jne 0x43f58f
xor eax, eax
jmp 0x43f5ab
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x43f59e
mov ecx, dword [eax + 0xc]
jmp 0x43f5a0
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [0x54614c]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x546148]
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x43f64d
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x43f64d
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43f64d
mov edx, dword [eax + 8]
test edx, edx
je 0x43f5f0
mov edx, dword [edx + 0xc]
jmp 0x43f5f2
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
add esi, ecx
push str.SurfaceBlt
lea ecx, [ebp - 0x20]
call fcn.0040e5a0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
push edi
call esi
add esp, 0x20
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xd8]
cdq
mov ecx, 0x64
idiv ecx
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ecx, ecx
jne 0x43f686
xor edx, edx
jmp 0x43f69c
mov edx, dword [eax + 8]
test edx, edx
je 0x43f692
mov esi, dword [edx + 0xc]
jmp 0x43f694
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43f6aa
xor eax, eax
jmp 0x43f6c6
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43f6b9
mov ecx, dword [eax + 0xc]
jmp 0x43f6bb
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [0x546154]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x546150]
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x43f768
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x43f768
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43f768
mov edx, dword [eax + 8]
test edx, edx
je 0x43f70b
mov edx, dword [edx + 0xc]
jmp 0x43f70d
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
add esi, ecx
push str.SurfaceBlt
lea ecx, [ebp - 0x20]
call fcn.0040e5a0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f751
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
push edi
call esi
add esp, 0x20
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xd8]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [edi + 0xc0]
lea edx, [edx + edx*2]
lea eax, [eax + edx*4]
mov edx, dword [eax]
test edx, edx
jne 0x43f78f
xor ecx, ecx
jmp 0x43f7a5
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43f79b
mov esi, dword [ecx + 0xc]
jmp 0x43f79d
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43f7b3
xor eax, eax
jmp 0x43f7cf
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43f7c2
mov edx, dword [eax + 0xc]
jmp 0x43f7c4
xor edx, edx
mov eax, dword [edi + 0xb8]
imul eax, edx
add eax, esi
mov edx, dword [0x54615c]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [0x546158]
mov dword [ebp - 0x18], edx
test edi, edi
je 0x43f871
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x43f871
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43f871
mov edx, dword [eax + 8]
test edx, edx
je 0x43f814
mov edx, dword [edx + 0xc]
jmp 0x43f816
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
add esi, ecx
push str.SurfaceBlt
lea ecx, [ebp - 0x20]
call fcn.0040e5a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f85a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
push edi
call esi
add esp, 0x20
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xd4]
mov dword [ebp - 0x1c], 0
cmp eax, 1
jne 0x43f88f
mov dword [ebp - 0x1c], 2
jmp 0x43f89b
cmp eax, 2
jne 0x43f89b
mov dword [ebp - 0x1c], 4
mov ecx, dword [edi + 0xc0]
mov eax, 0x66666667
imul dword [edi + 0xdc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x43f8c6
xor edx, edx
jmp 0x43f8dc
mov edx, dword [eax + 8]
test edx, edx
je 0x43f8d2
mov esi, dword [edx + 0xc]
jmp 0x43f8d4
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43f8ea
xor eax, eax
jmp 0x43f906
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43f8f9
mov ecx, dword [eax + 0xc]
jmp 0x43f8fb
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx*8 + 0x546164]
mov ebx, dword [eax + 4]
mov ecx, dword [ecx*8 + 0x546160]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], ecx
test ebx, ebx
je 0x43fa0e
mov edx, dword [edx + 4]
mov dword [ebp - 0x24], edx
test edx, edx
je 0x43fa0e
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43fa0e
mov edx, dword [eax + 8]
test edx, edx
je 0x43f95b
mov edx, dword [edx + 0xc]
jmp 0x43f95d
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
add esi, ecx
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, str.SurfaceBlt
mov dword [ebp - 4], 3
test ecx, 0xffff0000
jne 0x43f9af
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x43f9be
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00404950
jmp 0x43f9be
push 0xa
push str.SurfaceBlt
lea ecx, [ebp - 0x18]
call fcn.004048b0
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
push edi
push eax
mov dword [ebp - 4], 0xffffffff
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 0x43f9f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
push ebx
call esi
mov edi, dword [ebp - 0x10]
add esp, 0x20
mov eax, dword [edi + 0xdc]
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [edi + 0xc0]
lea edx, [edx + edx*2]
lea eax, [eax + edx*4]
mov edx, dword [eax]
test edx, edx
jne 0x43fa32
xor ecx, ecx
jmp 0x43fa48
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x43fa3e
mov esi, dword [ecx + 0xc]
jmp 0x43fa40
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43fa56
xor eax, eax
jmp 0x43fa72
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43fa65
mov edx, dword [eax + 0xc]
jmp 0x43fa67
xor edx, edx
mov eax, dword [edi + 0xb8]
imul eax, edx
add eax, esi
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx*8 + 0x54616c]
mov ebx, dword [eax + 4]
mov edx, dword [edx*8 + 0x546168]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
test ebx, ebx
je 0x43fb78
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x43fb78
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43fb78
mov edx, dword [eax + 8]
test edx, edx
je 0x43fac7
mov edx, dword [edx + 0xc]
jmp 0x43fac9
xor edx, edx
mov esi, dword [eax + 4]
mov eax, dword [0x5515b0]
imul esi, edx
mov edx, dword [eax + 0xc]
add esi, ecx
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, str.SurfaceBlt
mov dword [ebp - 4], 4
test eax, 0xffff0000
jne 0x43fb19
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x43fb28
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404950
jmp 0x43fb28
push 0xa
push str.SurfaceBlt
lea ecx, [ebp - 0x1c]
call fcn.004048b0
mov edi, dword [ebp - 0x1c]
mov edx, dword [esi + 4]
push edi
push edx
mov dword [ebp - 4], 0xffffffff
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 0x43fb5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
push ebx
call esi
mov edi, dword [ebp - 0x10]
add esp, 0x20
mov esi, dword [edi + 0xe0]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x43fba4
cmp eax, dword [esi - 0x10]
jne 0x43fba4
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43fbd6
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x43fbbd
call fcn.00401640
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004f4ab2
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x14], edi
mov eax, dword [edi - 0xc]
mov dword [ebp - 4], 5
test eax, eax
jle 0x43fbff
push 0x2f
push edi
call fcn.004f5c09
add esp, 8
test eax, eax
je 0x43fbff
sub eax, edi
mov esi, eax
jns 0x43fc1b
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x440954
push esi
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406e20
inc esi
push esi
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00408a40
mov eax, dword [eax]
mov ebx, dword [ebp - 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
mov byte [ebp - 4], 7
cmp esi, ebx
je 0x43fce1
cmp dword [ebx + 0xc], 0
jl 0x43fcd4
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x43fcd4
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x43fc7e
cmp eax, dword [esi]
jne 0x43fc7e
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x43fcb3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x43fc97
call fcn.00401640
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004f4ab2
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x43fccc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [ebp - 0x14], edi
jmp 0x43fce1
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004048b0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fd04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040eba0
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov eax, 0x10624dd3
imul ecx
mov eax, dword [edi + 0xc0]
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], vtable.CStringToNum.0
mov ecx, dword [eax]
test ecx, ecx
jne 0x43fd47
xor edx, edx
jmp 0x43fd5d
mov edx, dword [eax + 8]
test edx, edx
je 0x43fd53
mov ebx, dword [edx + 0xc]
jmp 0x43fd55
xor ebx, ebx
mov edx, dword [eax + 4]
imul edx, ebx
add edx, ecx
mov ebx, dword [edi + 0xb4]
test ebx, ebx
jne 0x43fd6b
xor eax, eax
jmp 0x43fd87
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43fd7a
mov ecx, dword [eax + 0xc]
jmp 0x43fd7c
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, ebx
mov ecx, dword [0x5460e4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x5460e0]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43fe8a
mov edx, dword [edx + 4]
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x43fe8a
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [0x552adc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43fe8a
mov edx, dword [eax + 8]
test edx, edx
je 0x43fdda
mov edx, dword [edx + 0xc]
jmp 0x43fddc
xor edx, edx
mov edi, dword [eax + 4]
imul edi, edx
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
add edi, ecx
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, str.SurfaceBlt
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x43fe2b
mov edx, ecx
movzx ebx, dx
push 0
push ebx
call fcn.00401180
add esp, 8
test eax, eax
je 0x43fe3a
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00404950
jmp 0x43fe3a
push 0xa
push str.SurfaceBlt
lea ecx, [ebp - 0x20]
call fcn.004048b0
mov ebx, dword [ebp - 0x20]
mov eax, dword [edi + 4]
push ebx
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fe6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp - 0x30]
push edx
push eax
push ecx
call edi
mov edi, dword [ebp - 0x10]
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
imul esi, esi, 0x3e8
sub ecx, esi
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ecx, ecx
jne 0x43febd
xor edx, edx
jmp 0x43fed3
mov edx, dword [eax + 8]
test edx, edx
je 0x43fec9
mov esi, dword [edx + 0xc]
jmp 0x43fecb
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43fee1
xor eax, eax
jmp 0x43fefd
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43fef0
mov ecx, dword [eax + 0xc]
jmp 0x43fef2
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [0x5460ec]
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x5460e8]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x43ff44
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x43ff44
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push edx
push eax
push ebx
push esi
call fcn.0040f270
mov ecx, dword [ebp - 0x1c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0xc0]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x43ff84
xor edx, edx
jmp 0x43ff9a
mov edx, dword [eax + 8]
test edx, edx
je 0x43ff90
mov esi, dword [edx + 0xc]
jmp 0x43ff92
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x43ffa8
xor eax, eax
jmp 0x43ffc4
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x43ffb7
mov ecx, dword [eax + 0xc]
jmp 0x43ffb9
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, esi
mov ecx, dword [0x5460f4]
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x5460f0]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x44000b
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x44000b
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push edx
push eax
push ebx
push esi
call fcn.0040f270
mov ecx, dword [ebp - 0x1c]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
mov eax, ecx
mov ecx, dword [edi + 0xc0]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x44003e
xor edx, edx
jmp 0x440054
mov edx, dword [eax + 8]
test edx, edx
je 0x44004a
mov esi, dword [edx + 0xc]
jmp 0x44004c
xor esi, esi
mov edx, dword [eax + 4]
imul edx, esi
add edx, ecx
mov esi, dword [edi + 0xb4]
test esi, esi
jne 0x440062
xor eax, eax
jmp 0x44007e
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x440071
mov ecx, dword [eax + 0xc]
jmp 0x440073
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, esi
mov esi, dword [eax + 4]
mov ecx, dword [0x5460f8]
mov ebx, dword [0x5460fc]
mov dword [ebp - 0x30], ecx
test esi, esi
je 0x4400bf
mov edi, dword [edx + 4]
test edi, edi
je 0x4400bf
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push ebx
push edx
push edi
push esi
call fcn.0040f270
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jle 0x4400dd
push 0x2f
push edi
call fcn.004f5c09
add esp, 8
test eax, eax
je 0x4400dd
sub eax, edi
mov esi, eax
jns 0x440108
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440100
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x440944
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406e20
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408a40
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040eba0
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov eax, 0x66666667
imul edi
mov eax, dword [ebx + 0xc0]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
mov dword [ebp - 0x3c], vtable.CStringToNum.0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4401c3
xor edx, edx
jmp 0x4401e2
mov edx, dword [eax + 8]
test edx, edx
je 0x4401d2
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4401d9
mov dword [ebp - 0x20], 0
mov edx, dword [eax + 4]
imul edx, dword [ebp - 0x20]
add edx, ecx
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x44020c
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x4401fe
mov ecx, dword [eax + 0xc]
jmp 0x440200
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, dword [ebp - 0x30]
mov ecx, dword [0x546104]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x546100]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x440259
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x440259
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [0x552adc]
push ebx
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
lea edx, [esi + esi*4]
add edx, edx
sub edi, edx
mov edx, dword [ecx + 0xc0]
lea eax, [edi + edi*2]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test edx, edx
jne 0x440279
xor ecx, ecx
jmp 0x44028f
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x440285
mov esi, dword [ecx + 0xc]
jmp 0x440287
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [esi + 0xb4]
test edi, edi
jne 0x4402a0
xor eax, eax
jmp 0x4402bc
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4402af
mov edx, dword [eax + 0xc]
jmp 0x4402b1
xor edx, edx
mov eax, dword [esi + 0xb8]
imul eax, edx
add eax, edi
mov esi, dword [eax + 4]
mov edx, dword [0x546108]
mov ebx, dword [0x54610c]
mov dword [ebp - 0x30], edx
test esi, esi
je 0x4402fd
mov edi, dword [ecx + 4]
test edi, edi
je 0x4402fd
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push ebx
push eax
push edi
push esi
call fcn.0040f270
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jle 0x4400dd
push 0x20
push edi
call fcn.004f5c09
add esp, 8
test eax, eax
je 0x4400dd
sub eax, edi
mov esi, eax
js 0x4400dd
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406e20
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408a40
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4403a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040eba0
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov eax, 0x66666667
imul edi
mov eax, dword [ebx + 0xc0]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
mov dword [ebp - 0x3c], vtable.CStringToNum.0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4403e2
xor edx, edx
jmp 0x440401
mov edx, dword [eax + 8]
test edx, edx
je 0x4403f1
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4403f8
mov dword [ebp - 0x20], 0
mov edx, dword [eax + 4]
imul edx, dword [ebp - 0x20]
add edx, ecx
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x44042b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x44041d
mov ecx, dword [eax + 0xc]
jmp 0x44041f
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, dword [ebp - 0x30]
mov ecx, dword [0x546114]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x546110]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x440478
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x440478
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [0x552adc]
push ebx
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
lea edx, [esi + esi*4]
add edx, edx
sub edi, edx
mov edx, dword [ecx + 0xc0]
lea eax, [edi + edi*2]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test edx, edx
jne 0x440498
xor ecx, ecx
jmp 0x4404ae
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4404a4
mov esi, dword [ecx + 0xc]
jmp 0x4404a6
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [esi + 0xb4]
test edi, edi
jne 0x4404bf
xor eax, eax
jmp 0x4404db
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4404ce
mov edx, dword [eax + 0xc]
jmp 0x4404d0
xor edx, edx
mov eax, dword [esi + 0xb8]
imul eax, edx
add eax, edi
mov esi, dword [eax + 4]
mov edx, dword [0x546118]
mov ebx, dword [0x54611c]
mov dword [ebp - 0x30], edx
test esi, esi
je 0x44051c
mov edi, dword [ecx + 4]
test edi, edi
je 0x44051c
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push ebx
push eax
push edi
push esi
call fcn.0040f270
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jle 0x4400dd
push 0x3a
push edi
call fcn.004f5c09
add esp, 8
test eax, eax
je 0x4400dd
sub eax, edi
mov esi, eax
js 0x4400dd
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406e20
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408a40
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.00408c20
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4405c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040eba0
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov eax, 0x66666667
imul edi
mov eax, dword [ebx + 0xc0]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
mov dword [ebp - 0x3c], vtable.CStringToNum.0
mov ecx, dword [eax]
test ecx, ecx
jne 0x440601
xor edx, edx
jmp 0x440620
mov edx, dword [eax + 8]
test edx, edx
je 0x440610
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x440617
mov dword [ebp - 0x20], 0
mov edx, dword [eax + 4]
imul edx, dword [ebp - 0x20]
add edx, ecx
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x44064a
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x44063c
mov ecx, dword [eax + 0xc]
jmp 0x44063e
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, dword [ebp - 0x30]
mov ecx, dword [0x546124]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x546120]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x440697
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x440697
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [0x552adc]
push ebx
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
lea edx, [esi + esi*4]
add edx, edx
sub edi, edx
mov edx, dword [ecx + 0xc0]
lea eax, [edi + edi*2]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test edx, edx
jne 0x4406b7
xor ecx, ecx
jmp 0x4406cd
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4406c3
mov esi, dword [ecx + 0xc]
jmp 0x4406c5
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [esi + 0xb4]
test edi, edi
jne 0x4406de
xor eax, eax
jmp 0x4406fa
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4406ed
mov edx, dword [eax + 0xc]
jmp 0x4406ef
xor edx, edx
mov eax, dword [esi + 0xb8]
imul eax, edx
add eax, edi
mov esi, dword [eax + 4]
mov edx, dword [0x546128]
mov ebx, dword [0x54612c]
mov dword [ebp - 0x30], edx
test esi, esi
je 0x44073b
mov edi, dword [ecx + 4]
test edi, edi
je 0x44073b
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push ebx
push eax
push edi
push esi
call fcn.0040f270
mov esi, dword [ebp - 0x14]
push 0x517abc
push esi
call fcn.004f5934
add esp, 8
test eax, eax
sete al
test al, al
je 0x4407a4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440778
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440960
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x440960
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040eba0
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0xc0]
mov eax, 0x66666667
imul edi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x3c], vtable.CStringToNum.0
mov ecx, dword [eax]
test ecx, ecx
jne 0x4407e1
xor edx, edx
jmp 0x440800
mov edx, dword [eax + 8]
test edx, edx
je 0x4407f0
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4407f7
mov dword [ebp - 0x20], 0
mov edx, dword [eax + 4]
imul edx, dword [ebp - 0x20]
add edx, ecx
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x44082a
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x44081c
mov ecx, dword [eax + 0xc]
jmp 0x44081e
xor ecx, ecx
mov eax, dword [ebx + 0xb8]
imul eax, ecx
add eax, dword [ebp - 0x30]
mov ecx, dword [0x546134]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x546130]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x440877
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x440877
mov ecx, 0x5537a9
call fcn.004047e0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [0x552adc]
push ebx
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
lea edx, [esi + esi*4]
add edx, edx
sub edi, edx
mov edx, dword [ecx + 0xc0]
lea eax, [edi + edi*2]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test edx, edx
jne 0x440897
xor ecx, ecx
jmp 0x4408ad
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4408a3
mov esi, dword [ecx + 0xc]
jmp 0x4408a5
xor esi, esi
mov ecx, dword [eax + 4]
imul ecx, esi
add ecx, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [esi + 0xb4]
test edi, edi
jne 0x4408be
xor eax, eax
jmp 0x4408da
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x4408cd
mov edx, dword [eax + 0xc]
jmp 0x4408cf
xor edx, edx
mov eax, dword [esi + 0xb8]
imul eax, edx
add eax, edi
mov esi, dword [eax + 4]
mov edx, dword [0x546138]
mov ebx, dword [str._LUg]
mov dword [ebp - 0x30], edx
test esi, esi
je 0x44091b
mov edi, dword [ecx + 4]
test edi, edi
je 0x44091b
mov ecx, 0x5537a9
call fcn.004047e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push ebx
push eax
push edi
push esi
call fcn.0040f270
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44093e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xe4]
push 0x517abc
push eax
call fcn.004f5934
add esp, 8
test eax, eax
setne al
test al, al
je 0x440a89
push 0x24
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x4409a5
mov ecx, eax
call fcn.00412010
jmp 0x4409a7
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00432b70
mov esi, dword [ebp - 0x3c]
mov ecx, dword [edi + 0xe4]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0x10
test esi, esi
jne 0x4409d4
xor eax, eax
jmp 0x4409e5
test ebx, ebx
je 0x4409dd
mov eax, dword [ebx + 0xc]
jmp 0x4409df
xor eax, eax
imul eax, dword [ebp - 0x38]
add eax, esi
push ecx
mov ecx, eax
call fcn.0043de50
test al, al
je 0x440a61
test esi, esi
je 0x440a06
test ebx, ebx
je 0x4409fe
mov eax, dword [ebx + 0xc]
jmp 0x440a00
xor eax, eax
imul eax, dword [ebp - 0x38]
add esi, eax
mov edx, dword [edi + 0xb4]
test edx, edx
jne 0x440a14
xor eax, eax
jmp 0x440a30
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x440a23
mov ecx, dword [eax + 0xc]
jmp 0x440a25
xor ecx, ecx
mov eax, dword [edi + 0xb8]
imul eax, ecx
add eax, edx
mov edi, dword [eax + 4]
test edi, edi
je 0x440a61
mov esi, dword [esi + 4]
test esi, esi
je 0x440a61
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [0x552adc]
push 0
push 0
push 0
push 0
push 0x3a
push 0x15
push esi
push edi
call fcn.0040f270
or eax, 0xffffffff
mov dword [ebp - 4], eax
test ebx, ebx
je 0x440a89
add dword [ebx + 4], eax
jne 0x440a89
cmp byte [ebx + 8], 0
je 0x440a7e
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret