Function at 0x415c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2e70
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 0x4baf60
sub eax, 0xfa
cdq
sub eax, edx
mov ebp, eax
lea eax, [esi + 0x1450]
mov ebx, 4
sar ebp, 1
call fcn.00404880
lea edx, [esp + 0x14]
mov dword [esi + 0x1cc], ebp
mov dword [esi + 0x1d0], 0xc
mov ebx, 1
push edx
mov ecx, 0x4baa38
mov dword [esi + 0x1d8], 0xa
mov dword [esi + 0x1d4], ebx
call fcn.00404920
lea edi, [esi + 0x1e0]
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 0x415d31
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x1f0]
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 0x415d7b
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 + 0x1dc], 0
call fcn.00404920
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 2
call fcn.00404920
lea eax, [esp + 0x10]
mov bl, 3
push eax
mov ecx, 0x4baf6c
mov byte [esp + 0x44], bl
call fcn.00404920
lea edi, [esi + 0x1e4]
lea eax, [esp + 0x10]
mov byte [esp + 0x40], 4
call fcn.00403b10
lea edi, [esi + 0x1ec]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x1e8]
lea eax, [esp + 0x10]
je 0x415dfb
lea eax, [esp + 0x14]
call fcn.00403b10
mov byte [esp + 0x40], bl
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 0x415e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 2
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 0x415e49
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 0x415e71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esi + 0x1d4]
add ebx, 1
imul ebx, ebx, 0x16
lea ecx, [esp + 0x20]
mov dword [esi + 0x1f4], ebp
mov dword [esi + 0x1f8], ebx
push ecx
mov ecx, 0x4baa38
mov dword [esi + 0x200], 0xa
mov dword [esi + 0x1fc], 1
call fcn.00404920
lea edi, [esi + 0x208]
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 0x415eeb
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x218]
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 0x415f39
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 + 0x204], 0
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, 0x4baf94
mov byte [esp + 0x44], 8
call fcn.00404920
lea edi, [esi + 0x20c]
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 9
call fcn.00403b10
lea edi, [esi + 0x214]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x210]
lea eax, [esp + 0x14]
je 0x415fb8
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 0x415fe2
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 0x416007
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 0x41602f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1fc]
imul eax, eax, 0x16
lea ecx, [esp + 0x20]
lea ebx, [ebx + eax + 0xa]
mov dword [esi + 0x21c], ebp
mov dword [esi + 0x220], ebx
push ecx
mov edi, 0xa
mov ecx, 0x4baa38
mov dword [esi + 0x228], edi
mov dword [esi + 0x224], 1
call fcn.00404920
mov dword [esp + 0x40], edi
lea edi, [esi + 0x230]
lea eax, [esp + 0x20]
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 0x4160a7
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x240]
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 0x4160f5
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 + 0x22c], 0
call fcn.00404920
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 0xc
call fcn.00404920
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4bafbc
mov byte [esp + 0x44], 0xd
call fcn.00404920
lea edi, [esi + 0x234]
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 0xe
call fcn.00403b10
lea edi, [esi + 0x23c]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x238]
lea eax, [esp + 0x14]
je 0x416174
lea eax, [esp + 0x10]
call fcn.00403b10
mov byte [esp + 0x40], 0xd
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 0x41619e
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 + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4161c3
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 0x4161eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x224]
imul eax, eax, 0x16
lea ecx, [esp + 0x20]
lea ebx, [ebx + eax + 0xa]
mov dword [esi + 0x244], ebp
mov dword [esi + 0x248], ebx
push ecx
mov ecx, 0x4baa38
mov dword [esi + 0x250], 0xa
mov dword [esi + 0x24c], 2
call fcn.00404920
lea edi, [esi + 0x258]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0xf
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 0x416266
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x268]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x10
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 0x4162b4
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 + 0x254], 0
call fcn.00404920
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 0x11
call fcn.00404920
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4bafe8
mov byte [esp + 0x44], 0x12
call fcn.00404920
lea edi, [esi + 0x25c]
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 0x13
call fcn.00403b10
lea edi, [esi + 0x264]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x260]
lea eax, [esp + 0x14]
je 0x416333
lea eax, [esp + 0x10]
call fcn.00403b10
mov byte [esp + 0x40], 0x12
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 0x41635d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0x11
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 0x416382
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 0x4163aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x24c]
imul eax, eax, 0x16
lea ecx, [esp + 0x20]
lea ebx, [ebx + eax + 0xa]
mov dword [esi + 0x26c], ebp
mov dword [esi + 0x270], ebx
push ecx
mov ecx, 0x4baa38
mov dword [esi + 0x278], 0xa
mov dword [esi + 0x274], 2
call fcn.00404920
lea edi, [esi + 0x280]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x14
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 0x416425
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x290]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x15
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 0x416473
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 + 0x27c], 0
call fcn.00404920
lea edx, [esp + 0x10]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 0x16
call fcn.00404920
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4bb038
mov byte [esp + 0x44], 0x17
call fcn.00404920
lea edi, [esi + 0x284]
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 0x18
call fcn.00403b10
lea edi, [esi + 0x28c]
lea eax, [esp + 0x20]
call fcn.00403b10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x288]
lea eax, [esp + 0x14]
je 0x4164f2
lea eax, [esp + 0x10]
call fcn.00403b10
mov byte [esp + 0x40], 0x17
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 0x41651c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0x16
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 0x416541
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 0x416569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x274]
imul eax, eax, 0x16
lea ecx, [esp + 0x20]
lea ebx, [ebx + eax + 0xa]
mov dword [esi + 0x294], ebp
mov dword [esi + 0x298], ebx
push ecx
mov ecx, 0x4baa38
mov dword [esi + 0x2a0], 0xa
mov dword [esi + 0x29c], 2
call fcn.00404920
lea edi, [esi + 0x2a8]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x19
call fcn.00403b10
or ebp, 0xffffffff
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4165e2
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, 0x4baf60
call fcn.00404920
lea edi, [esi + 0x2b8]
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x1a
call fcn.00403b10
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41662b
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 + 0x2a4], 0
call fcn.00404920
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4aa6a0
mov dword [esp + 0x44], 0x1b
call fcn.00404920
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4bb088
mov byte [esp + 0x44], 0x1c
call fcn.00404920
lea edi, [esi + 0x2ac]
lea eax, [esp + 0x18]
mov byte [esp + 0x40], 0x1d
call fcn.00403b10
lea edi, [esi + 0x2b4]
lea eax, [esp + 0x24]
call fcn.00403b10
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
lea edi, [esi + 0x2b0]
lea eax, [esp + 0x18]
je 0x4166aa
lea eax, [esp + 0x1c]
call fcn.00403b10
mov byte [esp + 0x40], 0x1c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4166d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0x1b
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x416718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x29c]
imul ecx, ecx, 0x16
lea edx, [ecx + ebx + 0xc]
mov dword [esi + 0x1418], edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret