Function at 0x41aa40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2f08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [0x4a7454]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 0x4bc608
sub eax, 0x12c
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
lea eax, [esi + 0x147c]
mov ebx, 5
add ebp, 7
call fcn.00404880
lea edx, [esp + 0x14]
mov dword [esi + 0x1144], ebp
mov dword [esi + 0x1148], 0xf
push edx
mov ecx, 0x4baa38
mov dword [esi + 0x1150], 0xc
mov dword [esi + 0x114c], 3
call fcn.00404920
lea edi, [esi + 0x1158]
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ab13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4bc614
call fcn.00404920
mov ebx, 1
lea edi, [esi + 0x1168]
lea eax, [esp + 0x14]
mov dword [esp + 0x40], ebx
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ab62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4aa6a0
mov dword [esi + 0x1154], ebx
call fcn.00404920
lea edx, [esp + 0x14]
mov ebx, 2
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], ebx
call fcn.00404920
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4bc620
mov byte [esp + 0x44], 3
call fcn.00404920
lea edi, [esi + 0x115c]
lea eax, [esp + 0x10]
mov byte [esp + 0x40], 4
call fcn.00403b10
lea edi, [esi + 0x1164]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x1160]
lea eax, [esp + 0x10]
je 0x41abde
lea eax, [esp + 0x14]
call fcn.00403b10
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ac08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x114c]
imul eax, eax, 0x16
add eax, 0x19
lea ecx, [esp + 0x20]
mov ebx, eax
mov dword [esi + 0x116c], ebp
mov dword [esi + 0x1170], ebx
push ecx
mov ecx, 0x4baa38
mov dword [esi + 0x1178], 0xc
mov dword [esi + 0x1174], 3
call fcn.00404920
lea edi, [esi + 0x1180]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 5
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41acd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4bc684
call fcn.00404920
lea edi, [esi + 0x1190]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 6
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ad1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4aa6a0
mov dword [esi + 0x117c], 1
call fcn.00404920
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 7
call fcn.00404920
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4bc690
mov byte [esp + 0x44], 8
call fcn.00404920
lea edi, [esi + 0x1184]
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 9
call fcn.00403b10
lea edi, [esi + 0x118c]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x1188]
lea eax, [esp + 0x14]
je 0x41ad9d
lea eax, [esp + 0x10]
call fcn.00403b10
mov byte [esp + 0x40], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41adc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41adec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ae14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1174]
imul eax, eax, 0x16
mov dword [esi + 0x1194], ebp
lea ecx, [esp + 0x20]
lea ebx, [ebx + eax + 0xa]
mov dword [esi + 0x1198], ebx
push ecx
mov ebp, 1
mov ecx, 0x4baa38
mov dword [esi + 0x11a0], 0xc
mov dword [esi + 0x119c], ebp
call fcn.00404920
lea edi, [esi + 0x11a8]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0xa
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ae90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4bc70c
call fcn.00404920
lea edi, [esi + 0x11b8]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0xb
call fcn.00403b10
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41aede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x4aa6a0
mov dword [esi + 0x11a4], ebp
call fcn.00404920
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 0xc
call fcn.00404920
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4bc714
mov byte [esp + 0x44], 0xd
call fcn.00404920
lea edi, [esi + 0x11ac]
lea eax, [esp + 0x18]
mov byte [esp + 0x40], 0xe
call fcn.00403b10
lea edi, [esi + 0x11b4]
lea eax, [esp + 0x24]
call fcn.00403b10
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x11b0]
lea eax, [esp + 0x18]
je 0x41af59
lea eax, [esp + 0x1c]
call fcn.00403b10
mov byte [esp + 0x40], 0xd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41af83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41afa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41afd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x119c]
imul ecx, ecx, 0x16
lea edx, [ecx + ebx + 0xc]
mov dword [esi + 0x1444], edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret