Function at 0x4210d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475340
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x24]
xor ebp, ebp
mov word [esi + 0x70], bp
mov eax, dword [edi + 0x50]
mov word [esi + 0x6e], ax
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x30]
sub ecx, dword [esi + 0x68]
add eax, ecx
cmp word [esi + 0x72], bp
mov dword [esi + 0x78], eax
je 0x421345
mov edi, dword [esp + 0x30]
cmp edi, ebp
mov dx, word [esi + 0x6e]
mov word [esp + 0x10], dx
mov dword [esp + 0x18], ebp
je 0x42114e
mov eax, dword [edi]
push ebp
push ebp
mov ecx, edi
call dword [eax + 4]
movzx eax, word [esi + 0x72]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 8]
mov ecx, dword [0x497930]
mov dword [esp + 0x18], ecx
cmp word [esi + 0x72], bp
push ebx
mov dword [esp + 0x18], ebp
jbe 0x42129b
lea ecx, [ecx]
test ebp, ebp
jl 0x42133f
cmp ebp, dword [esi + 0x34]
jge 0x42133f
mov edx, dword [esi + 0x30]
mov edi, dword [edx + ebp*4]
lea eax, [edx + ebp*4]
call fcn.00466223
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov al, byte [esi + 0x40]
test al, al
mov dword [esp + 0x2c], 0
je 0x4211de
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0041e8a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00409840
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esp + 0x10]
cmp byte [esi + 0x40], 1
mov eax, edi
jne 0x4211f8
test edi, edi
jne 0x4211ed
mov eax, dword [esi + 0x20]
push 0
push eax
call fcn.0041f600
add esp, 8
mov eax, dword [esi + 0x24]
push eax
mov ecx, edi
call fcn.0041e530
mov ecx, dword [esi + 0x74]
add ecx, eax
mov al, byte [esi + 0x40]
test al, al
mov dword [esi + 0x74], ecx
je 0x42121a
push ebx
mov ecx, edi
call fcn.0041e770
mov eax, dword [esi + 0x24]
movzx edx, word [esp + 0x14]
mov ecx, dword [eax + 0x50]
cmp ecx, edx
je 0x421246
test ebp, ebp
mov word [esi + 0x70], 1
mov eax, dword [eax + 0x50]
mov dword [esp + 0x14], eax
jne 0x42124a
mov cx, ax
mov dword [esi + 0x78], ebp
mov word [esi + 0x6e], cx
jmp 0x42124a
inc word [esi + 0x70]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x421268
mov edi, dword [esp + 0x1c]
mov eax, ebp
cdq
idiv edi
test edx, edx
jne 0x421268
mov edx, dword [ecx]
push edi
call dword [edx]
test al, al
je 0x4212ba
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42128a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
movzx eax, word [esi + 0x72]
inc ebp
cmp ebp, eax
jl 0x421160
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4212a6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x421344
push eax
mov ecx, esi
call fcn.00420670
mov al, byte [esp + 0x38]
test al, al
je 0x42130c
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4212de
mov dl, byte [ecx + 0x4c]
xor eax, eax
test dl, dl
setne al
lea eax, [eax + eax - 1]
test eax, eax
jne 0x4212e7
mov dword [ecx + 0x30], 0
jmp 0x4212ec
call fcn.00421f90
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x68]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
add eax, edi
push 0
push eax
call dword [edx + 0x18]
mov dword [esp + 0x18], 0x6a
jmp 0x421314
mov dword [esp + 0x18], 0x69
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x421297
call fcn.0046004d
pop ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8