Function at 0x843bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x843bc9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405e50
xor eax, eax
push ebp
push 0x844409
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00411430
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edx, 0x844420
call fcn.004121b4
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.00405a3c
cmp dword [ebp - 4], 0
jne 0x843c2e
lea eax, [ebp - 4]
mov edx, dword [esi + 0x94]
call fcn.00405a3c
lea eax, [ebp - 0xc]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x84]
call fcn.00405ce8
lea eax, [ebp - 0x10]
call fcn.004059a4
lea eax, [ebp - 0x14]
call fcn.004059a4
lea eax, [ebp - 0x18]
call fcn.004059a4
lea ecx, [ebp - 0x34]
mov edx, 0x21
mov eax, dword [ebp - 0xc]
call fcn.004ab56c
mov eax, dword [ebp - 0x34]
mov edx, 0x84443c
call 0x405df8
jne 0x843d0f
push 0x844468
push dword [ebp - 0xc]
push 0x844468
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405d64
lea ecx, [ebp - 0x10]
mov edx, 0x22
mov eax, dword [ebp - 0xc]
call fcn.004ab56c
lea eax, [ebp - 0x14]
push eax
mov ecx, 4
mov edx, 0x24
mov eax, dword [ebp - 0xc]
call fcn.004ab5d0
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x843cc6
sub edi, 4
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x843cdd
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x843cf4
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
sub ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x30]
mov edx, 0x29
mov eax, dword [ebp - 0xc]
call fcn.004ab5d0
jmp 0x843d2a
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405a3c
lea eax, [ebp - 0x14]
call fcn.004059a4
lea eax, [ebp - 0x18]
call fcn.004059a4
mov eax, dword [ebx]
mov edx, 0x844474
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x38]
mov edx, 0x49
mov eax, 0x844488
call fcn.0055194c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x3c]
mov edx, 0x2d
mov eax, dword [0x8a3d04]
call fcn.00551914
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov edx, 0x1c
mov eax, dword [esi + 0x88]
call fcn.00551930
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00405c9c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x4c]
mov ecx, dword [esi + 4]
mov edx, 0x8444b4
call fcn.00405ce8
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
mov edx, 0x2d
call fcn.00551914
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
mov edx, 0xd
mov eax, 0x8444cc
call fcn.00551914
push dword [ebp - 0x50]
fild qword [esi + 0x50]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x64]
mov ecx, dword [esi + 8]
mov edx, 0x8444fc
call fcn.00405ce8
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
mov edx, 0x2d
call fcn.00551914
push dword [ebp - 0x60]
lea ecx, [ebp - 0x68]
mov edx, 0xd
mov eax, 0x844514
call fcn.00551914
push dword [ebp - 0x68]
fild qword [esi + 0x38]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x70]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x7c]
mov ecx, dword [esi + 0xc]
mov edx, 0x84452c
call fcn.00405ce8
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov edx, 0x2d
call fcn.00551914
push dword [ebp - 0x78]
lea ecx, [ebp - 0x80]
mov edx, 0xd
mov eax, 0x844544
call fcn.00551914
push dword [ebp - 0x80]
fild qword [esi + 0x40]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0x84]
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x84455c
push dword [esi + 0x10]
push 0x844574
push dword [esi + 0x14]
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00405d64
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov edx, 0x2d
call fcn.00551914
push dword [ebp - 0x90]
lea ecx, [ebp - 0x98]
mov edx, 0xd
mov eax, 0x844580
call fcn.00551914
push dword [ebp - 0x98]
fild qword [esi + 0x58]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xa0]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0x9c]
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x844598
lea ecx, [ebp - 0xa8]
mov edx, 0xc
mov eax, 0x8445a4
call fcn.00551914
push dword [ebp - 0xa8]
fild qword [esi + 0x68]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, 0x8444e8
call 0x410cc4
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, 0x8445bc
call fcn.00405ce8
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov edx, 0x15
call fcn.00551914
push dword [ebp - 0xac]
push 0x8445c8
lea ecx, [ebp - 0xb8]
mov edx, 0xc
xor eax, eax
call fcn.00551914
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xbc]
mov edx, 0xd
mov eax, 0x8445d4
call fcn.00551914
push dword [ebp - 0xbc]
fild qword [esi + 0x48]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xc4]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0xc0]
lea eax, [ebp - 0xa4]
mov edx, 7
call fcn.00405d64
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xd0]
mov ecx, dword [esi + 0x90]
mov edx, 0x8445ec
call fcn.00405ce8
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
mov edx, 0x2d
call fcn.00551914
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xd4]
mov edx, 0xd
mov eax, 0x844604
call fcn.00551914
push dword [ebp - 0xd4]
fild qword [esi + 0x30]
fdiv dword [0x8444dc]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0xdc]
mov eax, 0x8444e8
call 0x410cc4
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov edx, 0xf
call fcn.00551930
push dword [ebp - 0xd8]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xe4]
mov edx, 0x2d
xor eax, eax
call fcn.00551914
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xe8]
mov edx, 0xc
mov eax, 0x84461c
call fcn.00551914
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xec]
mov edx, 0xf
mov eax, dword [esi + 0x74]
call fcn.00551930
push dword [ebp - 0xec]
lea eax, [ebp - 0xe0]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xf0]
mov edx, 0x49
mov eax, 0x844634
call fcn.00551914
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x84464c
push dword [esi + 0x70]
push 0x844658
lea eax, [ebp - 0xf4]
mov edx, 3
call fcn.00405d64
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xf8]
mov edx, 0x49
mov eax, dword [ebp - 0x10]
call fcn.0055194c
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0xfc]
mov edx, 0x49
mov eax, dword [ebp - 0x14]
call fcn.0055194c
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x100]
mov edx, 0x49
mov eax, dword [ebp - 0x18]
call fcn.0055194c
mov edx, dword [ebp - 0x100]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 4]
push 0x844574
push dword [esi + 0x7c]
push 0x844574
push dword [ebp - 8]
lea eax, [ebp - 0x108]
mov edx, 5
call fcn.00405d64
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov edx, 0x49
call fcn.0055194c
mov edx, dword [ebp - 0x104]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x10c]
mov edx, 0x49
mov eax, dword [esi + 0x2c]
call fcn.0055194c
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x844410
lea eax, [ebp - 0x10c]
mov edx, 0x37
call fcn.004059c8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004059c8
ret