Function at 0x416b70
Capabilities:
Get number of processors
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ddb74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2fc
mov eax, dword [esp + 0x30c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x310]
push ebx
xor ebx, ebx
push ebp
mov dword [eax], ebx
push esi
mov dword [ecx], ebx
push edi
lea ecx, [esp + 0x14c]
call fcn.00435ec0
mov word [esp + 0x152], 4
mov word [esp + 0x150], 0x8802
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.004ca3f6
cmp eax, ebx
je 0x416be3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov esi, eax
jmp 0x416be5
xor esi, esi
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
lea ecx, [esp + 0x160]
mov dword [esp + 0x24], esi
lea edi, [esi + 0x70]
call fcn.00435f60
push eax
mov ecx, edi
call fcn.00438d20
test eax, eax
je 0x417e28
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
push ebx
call fcn.004360b0
cmp eax, ebx
je 0x416e8f
cmp eax, 0xf002
je 0x416c3a
xor eax, eax
jmp 0x417e28
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x416c4f
push eax
call fcn.004c4c89
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x416c64
push eax
call fcn.004c4c89
add esp, 4
mov dword [esp + 0x2c], ebx
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push ebx
lea eax, [esp + 0x38]
push edx
push eax
push ebx
lea ecx, [esp + 0x160]
mov word [esp + 0x166], 3
call fcn.00435f60
push eax
mov ecx, edi
call fcn.00438d20
test eax, eax
je 0x417e28
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004360b0
test eax, eax
je 0x416cad
xor eax, eax
jmp 0x417e28
mov ebx, dword [esp + 0x2c]
lea ebp, [esp + 0x16c]
mov ecx, dword [ebx]
lea esi, [ebx + 0x18]
mov dword [esp + 0x16c], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x170], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0x174], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x178], ecx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x17c], edx
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x180], eax
mov ecx, dword [esi]
mov dword [esp + 0x184], ecx
mov edx, dword [ebx + 0x1c]
lea eax, [esp + 0x60]
mov dword [esp + 0x188], edx
push eax
call fcn.00420654
mov ecx, dword [esi]
xor esi, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
fild qword [esp + 0x54]
sub esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [esp + 0x60], esp
fstp qword [eax]
mov dword [eax + 8], esi
call fcn.0041a400
lea ecx, [esp + 0x60]
call fcn.00420774
lea eax, [eax + eax*4]
lea ecx, [esp + 0x60]
lea edi, [eax + eax*4]
call fcn.004207d0
lea eax, [eax + edi*4]
lea ecx, [esp + 0x60]
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
call fcn.00420832
lea edx, [eax + edi*4]
lea edi, [esp + 0x1a4]
mov dword [esp + 0x18c], edx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x194], eax
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], esi
mov edx, dword [ebx + 0x28]
lea esi, [ebx + 0x2c]
mov ecx, 0x10
mov dword [esp + 0x1a0], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x1e4], eax
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x1e8], ecx
mov edx, dword [ebx + 0x74]
lea eax, [esp + 0x54]
mov dword [esp + 0x1ec], edx
push eax
call fcn.00420654
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov eax, dword [eax + 8]
xor esi, esi
mov dword [esp + 0x68], eax
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
fild qword [esp + 0x54]
sub esp, 0xc
mov dword [esp + 0x60], esp
mov eax, esp
fstp qword [eax]
lea ecx, [esp + 0x6c]
mov dword [eax + 8], esi
call fcn.0041a400
lea ecx, [esp + 0x60]
call fcn.00420774
lea eax, [eax + eax*4]
lea ecx, [esp + 0x60]
lea edi, [eax + eax*4]
call fcn.004207d0
lea eax, [eax + edi*4]
lea ecx, [esp + 0x60]
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
call fcn.00420832
lea edx, [eax + edi*4]
add ebx, 0x88
mov dword [esp + 0x1f0], edx
mov eax, dword [ebx - 0x10]
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1fc], esi
mov ecx, dword [ebx - 0xc]
mov dword [esp + 0x200], ecx
mov edx, dword [ebx - 8]
mov dword [esp + 0x204], edx
mov eax, dword [ebx - 4]
lea ecx, [esp + 0x20c]
push ebx
push ecx
mov dword [esp + 0x210], eax
call fcn.004238fd
mov esi, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
add esi, 0x64
lea edx, [ebp + 0xa0]
push edx
mov ecx, esi
call fcn.0044dca0
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push eax
push str.OControl3_Recv_RegUrl:__s_r_n
push ecx
call fcn.00442480
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x10]
call fcn.0044d9c0
lea ecx, [esp + 0x7c]
call fcn.004c367a
push 0xffffffffffffffff
push 0x10
lea ecx, [esp + 0x84]
mov dword [esp + 0x31c], ebx
call fcn.004c36da
mov edi, dword [esp + 0x80]
lea esi, [ebp + 0x38]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp], 0x3e80
jne 0x416f1d
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
add ecx, edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x80]
mov dword [eax + 8], ebx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x38], ebx
cmp ecx, ebx
je 0x416fb8
mov eax, ecx
xor edx, edx
mov esi, 0x64
mov edi, 0x64
div esi
mov eax, 0x51eb851f
push ebx
push ebx
push ebx
mov esi, edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div edi
mov eax, 0xd1b71759
push esi
mov edi, edx
mul ecx
shr edx, 0xd
push edi
push edx
lea ecx, [esp + 0x78]
call fcn.00420d1a
sub esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ebx
mov dword [eax + 4], 0x3ff00000
mov dword [eax + 8], ebx
call fcn.0041a430
lea ecx, [esp + 0x60]
call fcn.00420774
lea eax, [eax + eax*4]
lea ecx, [esp + 0x60]
lea esi, [eax + eax*4]
call fcn.004207d0
lea eax, [eax + esi*4]
lea ecx, [esp + 0x60]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
call fcn.00420832
lea ecx, [eax + esi*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x20]
xor edx, edx
mov eax, ecx
mov esi, 0x64
div esi
mov eax, 0x51eb851f
mov edi, 0x64
push ebx
push ebx
push ebx
mov esi, edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div edi
mov eax, 0xd1b71759
push esi
mov edi, edx
mul ecx
shr edx, 0xd
push edi
push edx
lea ecx, [esp + 0xb8]
call fcn.00420d1a
sub esp, 0xc
lea ecx, [esp + 0xac]
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ebx
mov dword [eax + 4], 0x3ff00000
mov dword [eax + 8], ebx
call fcn.0041a430
mov ecx, dword [ebp + 0x84]
xor edx, edx
mov eax, ecx
mov esi, 0x64
div esi
mov eax, 0x51eb851f
mov edi, 0x64
push ebx
push ebx
push ebx
mov esi, edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div edi
mov eax, 0xd1b71759
push esi
mov edi, edx
mul ecx
shr edx, 0xd
push edi
push edx
lea ecx, [esp + 0xac]
call fcn.00420d1a
sub esp, 0xc
lea ecx, [esp + 0xa0]
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ebx
mov dword [eax + 4], 0x3ff00000
mov dword [eax + 8], ebx
call fcn.0041a430
push 0x51f7a4
lea ecx, [esp + 0x1c]
call fcn.004c509d
mov eax, dword [ebp]
mov byte [esp + 0x314], 1
cmp eax, ebx
jne 0x4170b0
push 0x15
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
mov eax, dword [ebp + 8]
cmp eax, ebx
mov eax, dword [ebp + 0xc]
je 0x4170e7
cmp eax, ebx
je 0x4170ce
push 0x1e
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
cmp dword [ebp + 0x18], ebx
jbe 0x41719c
push 0x51
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
cmp eax, ebx
mov eax, dword [ebp + 0x78]
je 0x417189
cmp eax, ebx
mov eax, dword [ebp + 0x7c]
je 0x417115
cmp eax, ebx
jne 0x417119
cmp dword [ebp + 0x88], ebx
jne 0x417119
push 0x17
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
cmp eax, ebx
je 0x417129
push 0x15
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
cmp dword [ebp + 0x88], ebx
jne 0x417141
push 0x17
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
lea edx, [esp + 0x10]
push str._Y__m__d
push edx
lea ecx, [esp + 0x9c]
call fcn.00420e97
mov eax, dword [eax]
mov ecx, dword [ebp + 0x88]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x16
push edx
mov byte [esp + 0x324], 2
call fcn.004c26c6
add esp, 0x10
mov byte [esp + 0x314], 1
lea ecx, [esp + 0x10]
jmp 0x41729a
cmp eax, ebx
mov eax, dword [ebp + 0x7c]
je 0x4171f1
cmp eax, ebx
jne 0x4171ac
cmp dword [ebp + 0x88], ebx
jne 0x4171ac
push 0x17
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
lea eax, [esp + 0x10]
push str._Y__m__d
push eax
lea ecx, [esp + 0xa8]
call fcn.00420e97
mov ecx, dword [eax]
mov edx, dword [ebp + 0x18]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x16
push eax
mov byte [esp + 0x324], 3
call fcn.004c26c6
add esp, 0x10
mov byte [esp + 0x314], 1
lea ecx, [esp + 0x10]
jmp 0x41729a
cmp eax, ebx
jne 0x41729f
mov eax, dword [ebp + 0x88]
cmp eax, ebx
jne 0x417213
push 0x17
lea ecx, [esp + 0x1c]
call fcn.004caf7f
jmp 0x41729f
mov ecx, dword [ebp + 0x18]
push str._Y__m__d
cmp ecx, eax
jbe 0x41725f
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x9c]
call fcn.00420e97
mov edx, dword [eax]
mov eax, dword [ebp + 0x88]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x16
push ecx
mov byte [esp + 0x324], 4
call fcn.004c26c6
add esp, 0x10
mov byte [esp + 0x314], 1
lea ecx, [esp + 0x10]
jmp 0x41729a
lea edx, [esp + 0x14]
lea ecx, [esp + 0xa4]
push edx
call fcn.00420e97
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x16
push edx
mov byte [esp + 0x324], 5
call fcn.004c26c6
add esp, 0x10
mov byte [esp + 0x314], 1
lea ecx, [esp + 0x10]
call fcn.004c5029
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push eax
mov ecx, esi
call fcn.004c9a63
push ebx
lea ecx, [esi + 0x368]
call fcn.004c9bea
cmp dword [ebp], ebx
jne 0x4172cb
push 1
mov ecx, esi
call fcn.0041a050
jmp 0x417323
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4172f9
cmp eax, ebx
je 0x4172e5
cmp dword [ebp + 0x7c], ebx
je 0x4172e5
mov eax, 1
jmp 0x4172e7
xor eax, eax
cmp dword [ebp + 0x7c], ebx
jne 0x4172f9
mov ecx, dword [esp + 0x320]
mov dword [ecx], 1
push eax
mov ecx, esi
call fcn.0041a050
cmp dword [ebp + 0xc], ebx
jne 0x417323
push 0x51f7a4
lea ecx, [esi + 0x32c]
call fcn.004c9a63
mov edx, dword [esp + 0x31c]
mov dword [edx], 1
mov eax, dword [0x50ee64]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp]
mov byte [esp + 0x314], 6
cmp ecx, ebx
jne 0x417393
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x314], 7
cmp eax, ebx
je 0x41735b
push 0x1e
lea ecx, [esp + 0x18]
call fcn.004caf7f
jmp 0x41736e
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x20
push ecx
call fcn.004c26c6
add esp, 0xc
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 0x1b
push eax
call fcn.004c26c6
add esp, 0xc
mov byte [esp + 0x314], 6
lea ecx, [esp + 0x14]
jmp 0x4174f7
push 0x51f7a4
lea ecx, [esp + 0x18]
call fcn.004c509d
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x14]
push ecx
push 0x55
push edx
mov byte [esp + 0x320], 8
call fcn.004c26c6
mov eax, dword [ebp]
add esp, 0xc
cmp eax, 0x2710
jbe 0x4173ca
push 0x23
jmp 0x4173cc
push 0x22
lea ecx, [esp + 0x20]
call fcn.004caf7f
push 0x50ec94
lea ecx, [esp + 0x20]
call fcn.004c541a
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
je 0x4173f2
cmp eax, 0x66bc
jne 0x4173fd
push 0x54
lea ecx, [esp + 0x18]
call fcn.004caf7f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.004c5456
push 0x50ec8c
lea ecx, [esp + 0x20]
call fcn.004c541a
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jne 0x41742e
push 0x26
lea ecx, [esp + 0x18]
call fcn.004caf7f
jmp 0x417465
mov eax, ecx
xor edx, edx
mov edi, 0x64
div edi
mov eax, 0x51eb851f
push edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div edi
mov eax, 0xd1b71759
push edx
mul ecx
shr edx, 0xd
push edx
lea ecx, [esp + 0x20]
push 0x1f
push ecx
call fcn.004c26c6
add esp, 0x14
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
call fcn.004c5456
mov eax, dword [ebp + 8]
cmp eax, ebx
mov eax, dword [ebp + 0xc]
je 0x4174b2
cmp eax, ebx
jne 0x417492
cmp dword [ebp + 0x18], ebx
jne 0x41748a
push 0x52
jmp 0x417494
cmp eax, ebx
jne 0x417492
push 0x51
jmp 0x417494
push 0x1e
lea ecx, [esp + 0x18]
call fcn.004caf7f
push 0x50ec88
lea ecx, [esp + 0x20]
call fcn.004c541a
lea eax, [esp + 0x14]
push eax
jmp 0x4174d4
cmp eax, ebx
jne 0x4174eb
push 0x25
lea ecx, [esp + 0x18]
call fcn.004caf7f
push 0x50ec88
lea ecx, [esp + 0x20]
call fcn.004c541a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.004c5456
push 0x50ec84
lea ecx, [esp + 0x20]
call fcn.004c541a
mov byte [esp + 0x314], 6
lea ecx, [esp + 0x14]
call fcn.004c5029
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 0x110]
push edx
call fcn.004c9a63
mov ecx, dword [ebp + 0x80]
xor edi, edi
cmp ecx, ebx
je 0x4175a4
mov eax, ecx
xor edx, edx
mov esi, 0x64
mov edi, 0x64
div esi
mov eax, 0x51eb851f
push ebx
push ebx
push ebx
mov esi, edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div edi
mov eax, 0xd1b71759
push esi
mov edi, edx
mul ecx
shr edx, 0xd
push edi
push edx
lea ecx, [esp + 0x78]
call fcn.00420d1a
sub esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ebx
mov dword [eax + 4], 0x3ff00000
mov dword [eax + 8], ebx
call fcn.0041a430
lea ecx, [esp + 0x60]
call fcn.00420774
lea eax, [eax + eax*4]
lea ecx, [esp + 0x60]
lea esi, [eax + eax*4]
call fcn.004207d0
lea eax, [eax + esi*4]
lea ecx, [esp + 0x60]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
call fcn.00420832
lea edi, [eax + esi*4]
mov eax, dword [ebp + 0x9c]
lea ecx, [ebp + 0x28]
push 8
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x84], eax
call fcn.00446a30
add esp, 0xc
lea ecx, [esp + 0x60]
mov byte [esp + 0x314], 9
call fcn.004688b0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x318], 0xa
call fcn.00468940
push 0x33
lea ecx, [esp + 0x64]
call fcn.00468a10
lea ecx, [esp + 0x60]
mov esi, eax
mov byte [esp + 0x314], 9
call fcn.004688f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x314], 6
call fcn.004c5029
push 0x51f7a4
lea ecx, [esp + 0x28]
call fcn.004c509d
mov ecx, dword [0x50ee64]
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0x98]
mov edx, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x90]
mov dword [edx + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x34]
mov byte [esp + 0x314], 0xc
cmp eax, ebx
mov dword [esp + 0x44], edi
jne 0x4176f4
cmp dword [ebp + 0x94], ebx
ja 0x417699
cmp esi, ebx
je 0x4176e3
cmp dword [ebp], 0x2710
ja 0x4176a6
push 0x22
jmp 0x4176a8
push 0x23
lea ecx, [esp + 0x28]
call fcn.004caf7f
cmp esi, ebx
je 0x4176e3
mov ecx, dword [esp + 0x80]
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x94], ebx
jbe 0x4177bd
jmp 0x4177a9
cmp eax, 0x2710
ja 0x417753
push 0x22
lea ecx, [esp + 0x28]
call fcn.004caf7f
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x10], ebx
jne 0x417744
cmp esi, ebx
je 0x417744
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], ebx
cmp dword [eax + 0xc], ebx
ja 0x4177bd
cmp dword [ebp + 0x94], ebx
jbe 0x4177bd
jmp 0x4177a9
push 0x23
lea ecx, [esp + 0x28]
call fcn.004caf7f
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x10], ebx
jne 0x41779c
cmp esi, ebx
je 0x41779c
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], ebx
cmp dword [eax + 0xc], ebx
ja 0x4177bd
cmp dword [ebp + 0x94], ebx
jbe 0x4177bd
mov dword [esp + 0x40], 1
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x78]
mov eax, dword [ebp + 0x88]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x104], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x118], ebx
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x11c], ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x90]
mov dword [esp + 0x120], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x124], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x128], ebx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe0], ecx
mov ebx, 5
mov dword [esp + 0x140], ecx
lea ecx, [eax + 0x470]
push 0x51f7a4
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0x49
mov dword [esp + 0xb8], 0x4a
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], 2
mov dword [esp + 0xd4], 0x24
mov dword [esp + 0xd8], 0x35
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], 3
mov dword [esp + 0xf4], 0x4b
mov dword [esp + 0xf8], 0x4c
mov dword [esp + 0x110], 4
mov dword [esp + 0x114], 0x4d
mov dword [esp + 0x118], 0x4e
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], 0x4f
mov dword [esp + 0x138], 0x50
mov dword [esp + 0x13c], edi
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], esi
call fcn.004c51c0
mov dword [esp + 0x34], ebx
lea edi, [esp + 0xac]
mov bl, 0xc
mov esi, dword [edi]
mov ecx, dword [esp + 0x80]
cmp dword [ecx + esi*4], 0
je 0x417d87
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
je 0x417999
push 0x50e110
lea ecx, [esp + 0x28]
call fcn.004c541a
mov eax, dword [esp + 0x80]
mov eax, dword [eax + esi*4]
cmp eax, 0xffffffff
je 0x4179af
cmp eax, 0x66bc
jne 0x4179be
mov ecx, dword [edi + 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.004caf7f
jmp 0x4179d0
mov edx, dword [edi + 4]
push eax
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004c26c6
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.004c5456
mov eax, dword [ebp + esi*4 + 0x38]
test eax, eax
je 0x417a15
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x470]
lea esi, [edx + 0x470]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x417a09
push 0x50e110
mov ecx, esi
call fcn.004c541a
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004c5456
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x417a29
push 0x26
lea ecx, [esp + 0x24]
call fcn.004caf7f
jmp 0x417a60
mov eax, ecx
xor edx, edx
mov esi, 0x64
div esi
mov eax, 0x51eb851f
push edx
mul ecx
mov eax, edx
xor edx, edx
shr eax, 5
div esi
mov eax, 0xd1b71759
push edx
mul ecx
shr edx, 0xd
push edx
lea edx, [esp + 0x2c]
push 0x1f
push edx
call fcn.004c26c6
add esp, 0x14
cmp dword [edi + 0x1c], 0xfffffffe
jne 0x417b09
mov eax, dword [0x50ee64]
mov dword [esp + 0x10], eax
push 0x56
lea ecx, [esp + 0x14]
mov byte [esp + 0x318], 0xd
call fcn.004caf7f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x78]
push ecx
push 0x50ec88
push edx
call fcn.004c5342
push 0x50ec84
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x31c], 0xe
push eax
call fcn.004c52ce
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x318], 0xf
call fcn.004c5456
lea ecx, [esp + 0x54]
mov byte [esp + 0x314], 0xe
call fcn.004c5029
lea ecx, [esp + 0x78]
mov byte [esp + 0x314], 0xd
call fcn.004c5029
push 0x50ec8c
lea ecx, [esp + 0x28]
call fcn.004c541a
lea ecx, [esp + 0x10]
mov byte [esp + 0x314], bl
call fcn.004c5029
jmp 0x417d79
mov eax, dword [edi + 0x18]
test eax, eax
mov eax, dword [edi + 0x14]
je 0x417bac
test eax, eax
je 0x417d6b
mov ecx, dword [0x50ee64]
mov dword [esp + 0x10], ecx
push 0x1e
lea ecx, [esp + 0x14]
mov byte [esp + 0x318], 0x10
call fcn.004caf7f
lea edx, [esp + 0x10]
lea eax, [esp + 0x44]
push edx
push 0x50ec88
push eax
call fcn.004c5342
push 0x50ec84
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x320], 0x11
call fcn.004c52ce
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x318], 0x12
call fcn.004c5456
lea ecx, [esp + 0x48]
mov byte [esp + 0x314], 0x11
call fcn.004c5029
lea ecx, [esp + 0x44]
mov byte [esp + 0x314], 0x10
call fcn.004c5029
mov byte [esp + 0x314], bl
lea ecx, [esp + 0x10]
jmp 0x417d66
test eax, eax
je 0x417cd8
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x417c4c
mov edx, dword [0x50ee64]
mov dword [esp + 0x10], edx
push 0x52
lea ecx, [esp + 0x14]
mov byte [esp + 0x318], 0x13
call fcn.004caf7f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push 0x50ec88
push ecx
call fcn.004c5342
push 0x50ec84
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x320], 0x14
call fcn.004c52ce
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x318], 0x15
call fcn.004c5456
lea ecx, [esp + 0x3c]
mov byte [esp + 0x314], 0x14
call fcn.004c5029
lea ecx, [esp + 0x40]
mov byte [esp + 0x314], 0x13
call fcn.004c5029
mov byte [esp + 0x314], bl
lea ecx, [esp + 0x10]
jmp 0x417d66
mov eax, dword [0x50ee64]
mov dword [esp + 0x10], eax
push 0x51
lea ecx, [esp + 0x14]
mov byte [esp + 0x318], 0x16
call fcn.004caf7f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0x50ec88
push edx
call fcn.004c5342
push 0x50ec84
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x31c], 0x17
push eax
call fcn.004c52ce
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x318], 0x18
call fcn.004c5456
lea ecx, [esp + 0x38]
mov byte [esp + 0x314], 0x17
call fcn.004c5029
lea ecx, [esp + 0x14]
mov byte [esp + 0x314], 0x16
call fcn.004c5029
mov byte [esp + 0x314], bl
lea ecx, [esp + 0x10]
jmp 0x417d66
mov ecx, dword [0x50ee64]
mov dword [esp + 0x28], ecx
push 0x25
lea ecx, [esp + 0x2c]
mov byte [esp + 0x318], 0x19
call fcn.004caf7f
lea edx, [esp + 0x28]
lea eax, [esp + 0x4c]
push edx
push 0x50ec88
push eax
call fcn.004c5342
push 0x50ec84
lea ecx, [esp + 0x94]
push eax
push ecx
mov byte [esp + 0x320], 0x1a
call fcn.004c52ce
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x318], 0x1b
call fcn.004c5456
lea ecx, [esp + 0x90]
mov byte [esp + 0x314], 0x1a
call fcn.004c5029
lea ecx, [esp + 0x4c]
mov byte [esp + 0x314], 0x19
call fcn.004c5029
mov byte [esp + 0x314], bl
lea ecx, [esp + 0x28]
call fcn.004c5029
push 0x50ec8c
lea ecx, [esp + 0x28]
call fcn.004c541a
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
call fcn.004c5456
mov eax, dword [esp + 0x34]
add edi, 0x20
dec eax
mov dword [esp + 0x34], eax
jne 0x41796d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x5c
call fcn.004c9a63
mov edx, dword [esp + 0x30]
push edx
call fcn.004c4c89
mov eax, dword [esp + 0x30]
xor esi, esi
push eax
mov dword [esp + 0x38], esi
call fcn.004c4c89
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x314], 0xb
call fcn.004c5029
lea ecx, [esp + 0x24]
mov byte [esp + 0x314], 6
call fcn.004c5029
lea ecx, [esp + 0x1c]
mov byte [esp + 0x314], 1
call fcn.004c5029
lea ecx, [esp + 0x18]
mov byte [esp + 0x314], 0
call fcn.004c5029
lea ecx, [esp + 0x7c]
mov dword [esp + 0x314], 0xffffffff
call fcn.004c36ad
mov eax, 1
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x308
ret 8