Function at 0x41c1e0
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433d60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x94], 1
xor eax, eax
mov dword [ebp - 0x90], 0xb
movups xmmword [ebp - 0x8c], xmm0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.0040fc60
cmp dword [ebp - 0x7c], 0
je 0x41c52d
push 0x43fe04
push ecx
mov edx, 4
lea ecx, [ebp - 0x1bc]
call fcn.0040aba0
add esp, 4
lea ecx, [ebp - 0x174]
mov edx, eax
call fcn.004080a0
mov edi, dword [ebp - 0x7c]
lea edx, [ebp - 0x8c]
mov esi, eax
add esp, 4
cmp dword [ebp - 0x78], 8
cmovae edx, dword [ebp - 0x8c]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, ecx
mov dword [ebp - 0x144], ecx
cmp edi, eax
ja 0x41c2ff
cmp dword [esi + 0x14], 8
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x15c], esi
jb 0x41c2d8
mov eax, dword [esi]
mov dword [ebp - 0x15c], eax
lea ecx, [eax + ecx*2]
lea eax, [edi + edi]
push eax
push edx
push ecx
call fcn.004239a0
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov ecx, dword [ebp - 0x15c]
add eax, edi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x41c311
push edi
push edx
push dword [ebp - 0x144]
mov ecx, esi
push edi
call fcn.00401c40
mov esi, eax
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x18c]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x50], xmm0
push 0x43fe00
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.004080a0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x70], 3
call fcn.00402b90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x178]
mov byte [ebp - 0x54], 0
cmp ecx, 8
jb 0x41c3c9
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c3bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
cmp ecx, 8
jb 0x41c420
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x160]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 8
jb 0x41c474
mov edx, dword [ebp - 0x174]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c46a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x1a8]
xor eax, eax
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
cmp ecx, 8
jb 0x41c4d1
mov edx, dword [ebp - 0x1bc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c4c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.0040fc60
cmp byte [ebp - 0x54], 0
je 0x41c588
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x41c51d
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c513
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d116
push ecx
push edx
call fcn.004205b6
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x41c56a
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c560
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d116
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420573
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041d150
test al, al
jne 0x41c4e3
call fcn.0041d230
test al, al
jne 0x41c4e3
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 0x21
call fcn.0040fc60
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 2
mov dword [ebp - 0xbc], 0x31
mov byte [ebp - 0xb8], 0
call fcn.0040fc60
cmp byte [ebp - 0xb8], 0
je 0x41c635
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 0x33
call fcn.0040fc60
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x148], 0x34
mov byte [ebp - 0x144], 0
call fcn.0040fc60
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xc8], 0x19
mov dword [ebp - 0xc4], 0
call fcn.0040fc60
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 0x15
mov byte [ebp - 0xd0], 0
call fcn.0040fc60
cmp dword [ebp - 0xc4], 1
jne 0x41c828
cmp byte [ebp - 0xd0], 0
je 0x41c828
lea ecx, [ebp - 0x1a4]
call fcn.0041d2f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0x26
call fcn.00402b90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x190]
cmp ecx, 8
jb 0x41c70e
mov edx, dword [ebp - 0x1a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c704
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d120
push ecx
push edx
call fcn.004205b6
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0040fc60
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x148], 0x14
mov dword [ebp - 0x144], 0
call fcn.0040fc60
mov esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x1a4]
mov edx, 7
call fcn.0040aba0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x220]
push eax
mov dword [ebp - 0x228], 2
mov dword [ebp - 0x224], 0x27
call fcn.00402b90
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x208]
call fcn.00402b90
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc60
lea ecx, [ebp - 0x228]
call fcn.0041bff0
mov ecx, dword [ebp - 0x190]
cmp ecx, 8
jb 0x41c7ee
mov edx, dword [ebp - 0x1a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c7e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d125
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x41c828
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c81e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12a
push ecx
push edx
call fcn.004205b6
add esp, 8
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x148], 0x25
mov dword [ebp - 0x144], 3
call fcn.0040fc60
movaps xmm0, xmmword [0x43ff50]
lea ecx, [ebp - 0x140]
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x130], 0
call fcn.0040fc60
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x174], 2
mov dword [ebp - 0x170], 0x23
call fcn.0041fb20
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0x3e8
call fcn.0040fc60
lea ecx, [ebp - 0x16c]
call fcn.00401800
movaps xmm0, xmmword [0x43ff60]
lea ecx, [ebp - 0x12c]
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0
call fcn.0040fc60
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x150], 0x24
call fcn.0041fb20
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc60
lea ecx, [ebp - 0x14c]
call fcn.00401800
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 0x22
call fcn.0040fc60
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x144], 0x28
call fcn.0040fc60
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 1
xor eax, eax
mov dword [ebp - 0xb0], 0x1b
movups xmmword [ebp - 0xac], xmm0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
call fcn.0040fc60
mov edx, 0x3b
lea ecx, [ebp - 0x2c]
call fcn.0040aba0
mov edx, 0x32
lea ecx, [ebp - 0x1bc]
mov edi, eax
call fcn.0040aba0
mov edx, eax
lea ecx, [ebp - 0x1ec]
call fcn.0040a660
mov edx, 0x18
lea ecx, [ebp - 0x1d4]
mov esi, eax
call fcn.0040aba0
mov edx, eax
lea ecx, [ebp - 0x18c]
call fcn.0040a660
push esi
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x158]
call fcn.0040e240
push 0x43b324
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x174]
call fcn.004080a0
add esp, 4
lea ecx, [ebp - 0x50]
push edi
push eax
push dword [ebp - 0x144]
call fcn.0040e240
mov ecx, dword [ebp - 0x160]
cmp ecx, 8
jb 0x41ca79
mov edx, dword [ebp - 0x174]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ca6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x144]
xor eax, eax
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
cmp ecx, 8
jb 0x41cad6
mov edx, dword [ebp - 0x158]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cacc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x178]
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
cmp ecx, 8
jb 0x41cb33
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cb29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x1c0]
xor eax, eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
cmp ecx, 8
jb 0x41cb90
mov edx, dword [ebp - 0x1d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cb86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 7
mov word [ebp - 0x1d4], ax
cmp ecx, 8
jb 0x41cbed
mov edx, dword [ebp - 0x1ec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cbe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x1a8]
xor eax, eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
mov word [ebp - 0x1ec], ax
cmp ecx, 8
jb 0x41cc4a
mov edx, dword [ebp - 0x1bc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cc40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 7
mov word [ebp - 0x1bc], ax
cmp ecx, 8
jb 0x41cca1
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cc97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d12f
push ecx
push edx
call fcn.004205b6
add esp, 8
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x29
call fcn.00402b90
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc60
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x41cd0b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cd01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d134
push ecx
push edx
call fcn.004205b6
add esp, 8
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 3
mov dword [ebp - 0x144], 0xa
call fcn.0040fc60
movaps xmm0, xmmword [0x43fef0]
lea ecx, [ebp - 0x118]
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x108], 0
call fcn.0040fc60
mov esi, dword [ebp - 0x110]
mov edi, dword [ebp - 0x10c]
cmp esi, edi
je 0x41cdd2
nop dword [eax]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x30]
push esi
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 6
call fcn.00402b90
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc60
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x41cdcb
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cdc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x41cd60
movaps xmm0, xmmword [0x43ff00]
lea ecx, [ebp - 0x104]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0xf4], 0
call fcn.0040fc60
mov esi, dword [ebp - 0xfc]
mov edi, dword [ebp - 0xf8]
cmp esi, edi
je 0x41ce77
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x30]
push esi
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 6
call fcn.00402b90
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc60
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x41ce70
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ce66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d11b
push ecx
push edx
call fcn.004205b6
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x41ce05
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 3
mov dword [ebp - 0x144], 7
call fcn.0040fc60
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 5
mov dword [ebp - 0x144], 0xc
call fcn.0040fc60
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xe0], 0x17
mov byte [ebp - 0xdc], 0
call fcn.0040fc60
cmp byte [ebp - 0xdc], 0
je 0x41cf03
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x144], 0x2c
call fcn.0040fc60
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xec], 0x16
mov byte [ebp - 0xe8], 0
call fcn.0040fc60
cmp byte [ebp - 0xe8], 0
je 0x41cfce
mov edx, dword [ebp - 0x40]
mov eax, SysReAllocString
mov esi, dword [ebp - 0x9c]
sub eax, edx
cmp eax, esi
jb 0x41d139
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
push esi
cmovae ecx, dword [ebp - 0x50]
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
cmovae eax, dword [ebp - 0xac]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x144]
lea ecx, [ebp - 0x1a4]
call fcn.004087d0
lea ecx, [ebp - 0x1a4]
call fcn.0041f7c0
mov ecx, dword [ebp - 0x190]
cmp ecx, 8
jb 0x41cfce
mov edx, dword [ebp - 0x1a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cfc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d13e
push ecx
push edx
call fcn.004205b6
add esp, 8
lea ecx, [ebp - 0xfc]
call fcn.00401800
lea ecx, [ebp - 0x110]
call fcn.00401800
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x41d01e
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d014
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d116
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x98]
cmp ecx, 8
jb 0x41d05e
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d116
push ecx
push edx
call fcn.004205b6
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
call fcn.00401800
lea ecx, [ebp - 0x138]
call fcn.00401800
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x41d0c7
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d0bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d116
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp ecx, 8
jb 0x41c56a
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c560
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c560
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
call fcn.0042552f
call fcn.00401640
call fcn.0042552f
int3